XML::LibXML::SAX::ChunkParser - Parse XML Chunks Via LibXML SAX
local $XML::SAX::ParserPackage = 'XML::LibXML::SAX::ChunkParser'; my $parser = XML::SAX::ParserFactory->parser(Handler => $myhandler); $parser->parse_chunk($xml_chunk);
XML::LibXML::SAX::ChunkParser uses XML::LibXML's parse_chunk (as opposed to parse_xml_chunk/parse_balanced_chunk), which XML::LibXML::SAX uses.
Its purpose is to simply keep parsing possibly incomplete XML fragments, for example, from a socket.
Parses possibly incomplete XML fragment
Explicitly tell the parser that we're done parsing
Daisuke Maki <daisuke@endeworks.jp>
<daisuke@endeworks.jp>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install XML::LibXML::SAX::ChunkParser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::LibXML::SAX::ChunkParser
CPAN shell
perl -MCPAN -e shell install XML::LibXML::SAX::ChunkParser
For more information on module installation, please visit the detailed CPAN module installation guide.