-
-
08 Jul 2002 11:59:51 UTC
- Distribution: XML-Filter-SAX1toSAX2
- Module version: 0.03
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (2966 / 1 / 0)
- Kwalitee
Bus factor: 0- 29.73% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (3KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- unknown
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
XML::Filter::SAX1toSAX2 - Convert SAX1 events to SAX2
SYNOPSIS
use XML::Filter::SAX1toSAX2; # create a SAX2 handler my $handler = XML::Handler::AxPoint->new(); # filter from SAX1 to SAX2 my $filter = XML::Filter::SAX1toSAX2->new(Handler => $handler); # SAX1 parser my $parser = XML::Parser::PerlSAX->new(Handler => $filter); # parse file $parser->parse(Source => { SystemId => "file.xml" });
DESCRIPTION
This module is a very simple module for creating SAX2 events from SAX1 events. It is useful in the case where you have a SAX1 parser but want to use a SAX2 handler or filter of some sort.
As an added bonus, it also does namespace processing for you!
AUTHOR
Matt Sergeant, matt@sergeant.org
SEE ALSO
XML::Parser::PerlSAX, XML::SAX::Base, XML::Filter::SAX2toSAX1
Module Install Instructions
To install XML::Filter::SAX1toSAX2, copy and paste the appropriate command in to your terminal.
cpanm XML::Filter::SAX1toSAX2
perl -MCPAN -e shell install XML::Filter::SAX1toSAX2
For more information on module installation, please visit the detailed CPAN module installation guide.