Jump to content

Parse some XML and return part string


willpower

Recommended Posts

I have an XML response from a webservce.  I thought it was stored in array format...but apparently not.

I need to parse the string and extract the content between the <temperature>THIS IS WHAT I NEED</temperature> tags.

I have no way of knowing how many chars may come before, during or after.

Any ideas?

Thanks

Will
Link to comment
https://forums.phpfreaks.com/topic/23442-parse-some-xml-and-return-part-string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.