Parsing XML from URL using SimpleXML

ericsson

New Member
I'm trying to echo the XML content at this URL but I'm having difficulty. Here's what I have so far:\[code\]$url = "http://176.34.224.80/REMPADRecSys/GetVideosServlet?queryId=1";$xml = simplexml_load_file($url);$value = http://stackoverflow.com/questions/11292475/(string) $xml->results->item[0]->id;echo $value;\[/code\]I keep getting the error that I'm trying to get the property of a non-object. But I was under the impression simplexml_load_file converts my XML string INTO an object??If anyone could show me how to echo out any of the content, I'd be very grateful.
 
Back
Top