XML::Parser::ExpatXML::Parser::Expat Perl module gives a lowlevel access to James Clark's expat XML parser. | |
Download |
XML::Parser::Expat Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Larry Wall
- Publisher web site:
- http://search.cpan.org/~msergeant/XML-Parser-2.34/Expat/Expat.pm
XML::Parser::Expat Tags
XML::Parser::Expat Description
XML::Parser::Expat Perl module gives a lowlevel access to James Clark's expat XML parser. XML::Parser::Expat Perl module gives a lowlevel access to James Clark's expat XML parser.SYNOPSIS use XML::Parser::Expat; $parser = new XML::Parser::Expat; $parser->setHandlers('Start' => &sh, 'End' => &eh, 'Char' => &ch); open(FOO, 'info.xml') or die "Couldn't open"; $parser->parse(*FOO); close(FOO); # $parser->parse(' here we go '); sub sh { my ($p, $el, %atts) = @_; $p->setHandlers('Char' => &spec) if ($el eq 'special'); ... } sub eh { my ($p, $el) = @_; $p->setHandlers('Char' => &ch) # Special elements won't contain if ($el eq 'special'); # other special elements ... } Requirements: · Perl
XML::Parser::Expat Related Software