Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SAX1toSAX2(3)	      User Contributed Perl Documentation	 SAX1toSAX2(3)

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

perl v5.32.1			  2002-07-08			 SAX1toSAX2(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XML::Filter::SAX1toSAX2&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help