Location: PHPKode > scripts > xml2Object > example.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<FAMILY tipo="objeto">
<ADDRESS>Av. Principal 1542</ADDRESS>
<PHONE>562 34567</PHONE>
<MEMBERS tipo="lista">
	<MEMBER tipo="objeto"><NAME>Juan Perez</NAME></MEMBER>
	<MEMBER tipo="objeto"><NAME>Liz Quispe</NAME></MEMBER>
	<MEMBER tipo="objeto"><NAME>Juan Perez Jr.</NAME></MEMBER>
	<MEMBER tipo="objeto"><NAME>Rosa Perez</NAME></MEMBER>
</MEMBERS>
</FAMILY>
Return current item: xml2Object