XML::Handler::CanonXMLWriter (3)
Leading comments
Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) Standard preamble: ========================================================================
NAME
XML::Handler::CanonXMLWriter - output XML in canonical XML formatSYNOPSIS
use XML::Handler::CanonXMLWriter; $writer = XML::Handler::CanonXMLWriter OPTIONS; $parser->parse(Handler => $writer);
DESCRIPTION
"XML::Handler::CanonXMLWriter" is a PerlSAX handler that will return a string or write a stream of canonicalXML
for an XML
instance and it's
content.
"XML::Handler::CanonXMLWriter" objects hold the options used for writing the
XML
objects. Options can be supplied when the the object
is created,
$writer = new XML::Handler::CanonXMLWriter PrintComments => 1;
or modified at any time before calling the parser's `"parse()"' method:
$writer->{PrintComments} = 0;
OPTIONS
- IOHandle
-
IOHandle contains a handle for writing the canonical XMLto. If an IOHandle is not provided, the canonicalXMLstring will be returned from `"parse()"'.
- PrintComments
- By default comments are not written to the output. Setting comment to a true value will include comments in the output.
AUTHOR
Ken MacLeod, ken@bitsko.slc.ut.usSEE ALSO
perl(1), PerlSAXJames Clark's Canonical
XML
definition
<www.jclark.com/xml/canonxml.html>