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
In reply to Re: Parse XML file
by erroneousBollock
in thread Parse XML file
by blackdragoen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |