in reply to Re^2: Is it possible to parse an XML file recursively using XML::Twig?
in thread Is it possible to parse an XML file recursively using XML::Twig?
Calling tag on undefined value is probably the parent call. Adding a "defined" test there will probably do the trick. But I will suggest that the strength of the module is in using xpath so you rarely need to do a traverse in the first place. ≤/P>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Is it possible to parse an XML file recursively using XML::Twig?
by mr_ron (Deacon) on Oct 26, 2015 at 14:56 UTC | |
by Ppeoc (Beadle) on Oct 30, 2015 at 18:40 UTC |