The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

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

VERSION

version 0.20

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 as much as possible.

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.

AUTHOR

Jakob Voß

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Jakob Voß.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.