willpower Posted October 9, 2006 Share Posted October 9, 2006 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?ThanksWill Link to comment https://forums.phpfreaks.com/topic/23442-parse-some-xml-and-return-part-string/ Share on other sites More sharing options...
obsidian Posted October 9, 2006 Share Posted October 9, 2006 look into using the PHP xml_parse() function set. you can get a good overview of XML parsing techniques in this [url=http://www.zend.com/zend/art/parsing.php]ZEND tutorial[/url] Link to comment https://forums.phpfreaks.com/topic/23442-parse-some-xml-and-return-part-string/#findComment-106322 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.