in reply to Parsing xml using libXML
If you really want to roll your own like this, it would seem sensible to use recursion. You are not doing so and are in fact only going to an explicit depth in the tree at any point, hence missing the "graphics" element (and its children if there were any).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing xml using libXML
by shaq (Initiate) on Jul 18, 2013 at 11:37 UTC | |
by hippo (Archbishop) on Jul 19, 2013 at 09:44 UTC |