Hello everybody!
I download a webpage with a XML code:
$xml = simplexml_load_file($page);
The results are:
SimpleXMLElement Object
(
[@attributes] => Array
(
[Message] => Success
[Date] => 0001-01-01T00:00:00
)
[FUNDAMENTALS] => SimpleXMLElement Object
(
[FUNDAMENTAL] => Array
(
[0] => SimpleXMLElement Object
(
[@attributes] => Array
(
[Symbol] => AAA
[Name] => Description AAA
)
)
[1] => SimpleXMLElement Object
(
[@attributes] => Array
(
[Symbol] => BBB
[Name] => Description BBB
)
)
)
)
)
I have to read each [Symbol] [Name], how can I do?
Thank you very much!