我有 SimpleXMLElement 对象看起来像这样
SimpleXMLElement Object (
[report-name] = SimpleXMLElement Object
(
[@attributes] = Array
(
[name] = Raport
)
)
[date-range] = SimpleXMLElement Object
(
[@attributes] = Array
(
[date] = Jan 29, 2014
)
) )
Run Code Online (Sandbox Code Playgroud)
我怎样才能从中获得“日期”值?