DOKK / manpages / debian 11 / libxml-struct-perl / XML::Struct::Writer::Stream.3pm.en
XML::Struct::Writer::Stream(3pm) User Contributed Perl Documentation XML::Struct::Writer::Stream(3pm)

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.

2019-02-21 perl v5.28.1