XML Parse problem
Posted: Thu Aug 27, 2009 12:05 pm
Hi,
I'm having troubles parsing an XML file...
Would have liked to use simpleXML as I'm used to, but it's not working cause I have attributes in a parent node...
Looked at XmlParser, not sure that the information I've read is enough to throw myself into it...
Here's my XML file:
I'm having troubles parsing an XML file...
Would have liked to use simpleXML as I'm used to, but it's not working cause I have attributes in a parent node...
Looked at XmlParser, not sure that the information I've read is enough to throw myself into it...
Here's my XML file:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<first_node>
<child_lvl_one attr="">
<child_lvl_two attrone="" attrtwo=""/>
</child_lvl_one>
</first_node>
<second_node>
<child_lvl_one>
<child_lvl_two attrone="" attrtwo=""/>
</child_lvl_one>
</second_node>