XML::SimpleParser - Perl extension for XML parsing without external libraries |
XML::SimpleParser - Perl extension for XML parsing without external libraries
use XML::SimpleParse;
my $parser = new XML::SimpleParser;
my $tree = $parser->parse_file('example.xml');
XML::Parser call Expat libraries and make many unneeded and slow things. I need parser for reading XML documents with large tolerance to errors and non-standard things. This is answer for question why I make yet another XML parser.
Constructor create instance of XML::SimpleParser class.
my $parser = new XML::SimpleParser;
Parse STRING (XML) and return tree with XML document. Return undef when exception occurs.
Parse file with filename NAME. If NAME is filehandle, parse its contents. Return like parse().
0.01
(c) 2001 Milan Sorm, sorm@pef.mendelu.cz at Faculty of Economics, Mendel University of Agriculture and Forestry in Brno, Czech Republic.
This module was needed for making SchemaView Plus (svplus
) for reading
and saving XML files (not total well-structured non-standard files must
be accepted too - e.g. Java XML packages results etc.).
perl(1), svplus(1), XML::Parser(3), XML::Dumper(3), IO::File(3).
XML::SimpleParser - Perl extension for XML parsing without external libraries |