Jump to content

Need help with XML parsing


iceblizzard

Recommended Posts

Basically I'm reading a local xml file, extracting data, and passing array over to a MySql function. 

Also, when each record is extracted I need to know the full parent-child category it was listed under.

 

for example:

 

<root>

    <node value="first"/>

    <node value="second"/>

    <header label="Numbers">

          <header label="Roman numerals">

              <node value="I"/>

              <node value="XV"/>

          </header>

          <node value="1"/>

          <node value="10"/>

      </header>

</root>

 

 

Link to comment
https://forums.phpfreaks.com/topic/222386-need-help-with-xml-parsing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.