XML::Struct::Writer::Stream - simplified SAX handler to serialize (Micro)XML
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.
File handle or compatible object to write to (standard output by default).
Pretty-print XML if enabled.
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.
To install XML::Struct, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Struct
CPAN shell
perl -MCPAN -e shell install XML::Struct
For more information on module installation, please visit the detailed CPAN module installation guide.