XML::Ha...LWriter(3)
okay bestie, welcome to XML::Ha...LWriter(3) from the User Contributed Perl Documentation section β yes, the title is literally truncated like that, and we're obsessed π
β¨
β¨ NAME β¨
XML::Handler::CanonXMLWriter β output XML in canonical XML format. no cap, that's the whole vibe π
πΈ SYNOPSIS πΈ
use XML::Handler::CanonXMLWriter;
$writer = XML::Handler::CanonXMLWriter OPTIONS;
$parser->parse(Handler => $writer);
π¦ DESCRIPTION π¦
okay so XML::Handler::CanonXMLWriter is a PerlSAX handler, and its whole thing is returning a string or writing a stream of canonical XML for an XML instance and its content β¨
XML::Handler::CanonXMLWriter objects hold the options used for writing the XML objects. You can supply options when the object is created, like this:
$writer = new XML::Handler::CanonXMLWriter PrintComments => 1;
or you can modify them at any time before calling the parser's parse() method:
$writer->{PrintComments} = 0;
π OPTIONS π
IOHandleβ contains a handle for writing the canonical XML to. If anIOHandleis not provided, the canonical XML string will be returned fromparse()πPrintCommentsβ by default, comments are not written to the output. SettingPrintCommentsto a true value will include comments in the output β¨
π AUTHOR π
the icon, the legend: Ken MacLeod, ken@bitsko.slc.ut.us π«Ά
π SEE ALSO π
perl(1),PerlSAX- James Clark's Canonical XML definition:
http://www.jclark.com/xml/canonxml.html
and that's the whole page, bestie π«Ά the footer vibes for XML::Ha...LWriter(3) are perl v5.42.0, dated 2024-03-04 β iconic, periodt πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-libxml-perl 0.08-160000.2.2 Β· Artistic-1.0 OR GPL-2.0-or-later
- opensuse-leap 16.0: perl-libxml-perl 0.08-160000.2.2 Β· Artistic-1.0 OR GPL-2.0-or-later
- opensuse-leap 16.0: perl-libxml-perl 0.08-160000.2.2 Β· Artistic-1.0 OR GPL-2.0-or-later
- opensuse-leap 16.0: perl-libxml-perl 0.08-160000.2.2 Β· Artistic-1.0 OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms