in reply to Parse XML file
You should parse the document with XML::Parser and pass the result to XML::XPath with the appropriate query expression. I've already given you a hint for the XPATH expression; *[not(*)] will give you all the nodes without children.
Have you applied this suggestion yet, or researched XPATH as you were advised?
-David
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parse XML file
by erroneousBollock (Curate) on Sep 24, 2007 at 10:50 UTC | |
|
Re^2: Parse XML file
by Jenda (Abbot) on Sep 25, 2007 at 09:17 UTC | |
by Anonymous Monk on Sep 25, 2007 at 16:03 UTC | |
by Jenda (Abbot) on Sep 26, 2007 at 07:12 UTC |