Location: PHPKode > scripts > SimpleXML for PHP4 > basic.txt
Example XML file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<note>
	<to>Tove</to>
	<from>Jani</from>
	<heading>Reminder</heading>
	<body>Don't forget me this weekend!</body>
</note>


Class Output :

Array
(
    [to] => Tove
    [from] => Jani
    [heading] => Reminder
    [body] => Don't forget me this weekend!
)
Return current item: SimpleXML for PHP4