0
我已经SimpleXMLElement对象破折号看起来像这样SimpleXMLElement对象为@,重点
SimpleXMLElement Object (
[report-name] = SimpleXMLElement Object
(
[@attributes] = Array
(
[name] = Raport
)
)
[date-range] = SimpleXMLElement Object
(
[@attributes] = Array
(
[date] = Jan 29, 2014
)
))
我怎样才能摆脱这个“日期”值?
您可以参考手册此。看到这个链接[http://in1.php.net/simplexmlelement.attributes](http://in1.php.net/simplexmlelement.attributes) – user2936213