GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XML::FILTER::SAX2TOSAX1 (3)

.ds Aq ’

NAME

XML::Filter::SAX2toSAX1 - Convert SAX2 events to SAX1

CONTENTS

SYNOPSIS



  use XML::Filter::SAX2toSAX1;
  # create a SAX1 handler
  my $handler = XML::Handler::YAWriter->new();
  # filter from SAX2 to SAX1
  my $filter = XML::Filter::SAX2toSAX1->new(Handler => $handler);
  # SAX2 parser
  my $parser = XML::SAX::ParserFactory->parser(Handler => $filter);
  # parse file
  $parser->parse_uri( "file.xml" );



DESCRIPTION

This module is a very simple module for creating SAX1 events from SAX2 events. It is useful in the case where you have a SAX2 parser but want to use a SAX1 handler or filter of some sort.

AUTHOR

Matt Sergeant, matt@sergeant.org

SEE ALSO

XML::Parser::PerlSAX, XML::SAX::Base, XML::Filter::SAX1toSAX2
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SAX2TOSAX1 (3) 2002-07-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.