NAME

XML::Struct::Writer::Stream - simplified SAX handler to serialize (Micro)XML

DESCRIPTION

This class implements a simplfied SAX handler for stream-based serialization of XML. DTDs, comments, processing instructions and similar features not part of MicroXML are not supported.

The handler is written to reproduce the serialization of libxml.

CONFIGURATION

fh

File handle or compatible object to write to (standard output by default).

pretty

Pretty-print XML if enabled.

SEE ALSO

See XML::SAX::Writer, XML::Genx::SAXWriter, and XML::Handler::YAWriter for more elaborated SAX writers and XML::Writer for a general XML writer, not based on SAX.