XML::Struct::Writer::Stream(3) 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.