Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
It fails on the "get_tag" because the "footer" tag does not exist.$parser = XML::TokeParser->new("somefile.xml"); if ( $parser->get_tag('footer')) { # do stuff }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::TokeParser and malformed XML
by davorg (Chancellor) on Sep 23, 2004 at 09:03 UTC | |
by Anonymous Monk on Sep 23, 2004 at 09:12 UTC | |
|
Re: XML::TokeParser and malformed XML
by Anonymous Monk on Sep 23, 2004 at 10:28 UTC |