Link to home
Start Free TrialLog in
Avatar of n00b0101
n00b0101

asked on

SimpleXML equivalent?

I've been having a lot of problems with the code snippet below.  In a previous question, someone suggested that I use simplexml.  Can anyone tell me what that would be given the code below:


$results = file_get_contents($q."&requiredfields=stream_$stream".$required_fields)
$theDocument = domxml_open_mem($results);
$xPath = $theDocument->path_new_context();
$total[$stream] = $xPath->xpath_eval('//M/text()');

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of eft0
eft0
Flag of Chile image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial