我需要解析以下 XML 文件:
$xml = simplexml_load_file( urlencode($mediatrust_url) );
哪个输出:
SimpleXMLElement Object
(
[@attributes] => Array
(
[name] => StatsReport
)
)
所以它似乎只是选择了第一个标签的名称。
我需要解析以下 XML 文件:
$xml = simplexml_load_file( urlencode($mediatrust_url) );
哪个输出:
SimpleXMLElement Object
(
[@attributes] => Array
(
[name] => StatsReport
)
)
所以它似乎只是选择了第一个标签的名称。