I need to parse the following XML file below:
$xml = simplexml_load_file( urlencode($mediatrust_url) );
Which outputs:
SimpleXMLElement Object
(
[@attributes] => Array
(
[name] => StatsReport
)
)
So it seems that it just picks up the name of the first tag.