Page 1 of 1

Need help with XML parsing

Posted: Wed Dec 22, 2010 8:35 am
by iceblizzard
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:

Code: Select all

<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>

Re: Need help with XML parsing

Posted: Wed Dec 22, 2010 8:02 pm
by manohoo
Where's your PHP code?