NAME

XML::Genx::SAXWriter - output a SAX stream using genx

SYNOPSIS

# Copy input to output.
my $w = XML::Genx::SAXWriter->new;
my $p = XML::SAX::ParserFactory->parser( Handler => $w );
$p->parse_file( *STDIN );

DESCRIPTION

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.

METHODS

The following methods are defined as part of the usual XML::SAX::Base interface.

new()
characters()
comment()
end_document()
end_element()
end_prefix_mapping()
processing_instruction()
start_document()
start_element()
start_prefix_mapping()

VERSION

@(#) $Id: SAXWriter.pm 1270 2006-10-08 17:29:33Z dom $