XML::Genx::SAXWriter - output a SAX stream using genx
# Copy input to output. my $w = XML::Genx::SAXWriter->new; my $p = XML::SAX::ParserFactory->parser( Handler => $w ); $p->parse_file( *STDIN );
This class provides a means of writing output from a stream of SAX events. See XML::SAX and XML::SAX::Base for more details on what SAX is.
Essentially, this is just a wrapper over XML::Genx, mapping calls from SAX to genx.
The following methods are defined as part of the usual XML::SAX::Base interface.
@(#) $Id: SAXWriter.pm 988 2005-10-16 21:46:18Z dom $
To install XML::Genx, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Genx
CPAN shell
perl -MCPAN -e shell install XML::Genx
For more information on module installation, please visit the detailed CPAN module installation guide.