XML-Parsepp Version 0.06
Simplified pure perl parser for XML
SYNOPSIS
use XML::Parsepp;
$p1 = new XML::Parsepp;
$p1->parsefile('REC-xml-19980210.xml');
$p1->parse('Hello World');
# Alternative
$p2 = new XML::Parsepp(Handlers => {Start => \&handle_start,
End => \&handle_end,
Char => \&handle_char});
$p2->parse($socket);
# Another alternative
$p3 = new XML::Parsepp;
$p3->setHandlers(Char => \&text,
Default => \&other);
open(FOO, 'xmlgenerator |');
$p3->parse(*FOO);
close(FOO);
$p3->parsefile('junk.xml');
Allow duplicate attributes with option: dupatt => ';'
$p1 = new XML::Parsepp(dupatt => ';');
$p1->parse('Hello World');
This will fire the Start event with the following parameters
start($ExpatNB, 'foo', 'id', 'me;too');
INSTALLATION
To install this module, run the following commands:
perl Makefile.PL
make
make test
make install
SUPPORT AND DOCUMENTATION
After installing, you can find documentation for this module with the
perldoc command.
perldoc XML::Parsepp
You can also look for information at:
RT, CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=XML-Parsepp
AnnoCPAN, Annotated CPAN documentation
http://annocpan.org/dist/XML-Parsepp
CPAN Ratings
http://cpanratings.perl.org/d/XML-Parsepp
Search CPAN
http://search.cpan.org/dist/XML-Parsepp/
AUTHOR
Klaus Eichner
COPYRIGHT AND LICENSE
Copyright (C) 2009-2011 by Klaus Eichner
All rights reserved. This program is free software; you can redistribute
it and/or modify it under the terms of the artistic license 2.0,
see http://www.opensource.org/licenses/artistic-license-2.0.php