XML::Handler::CanonXMLWriter - output XML in canonical XML format |
XML::Handler::CanonXMLWriter - output XML in canonical XML format
use XML::Handler::CanonXMLWriter;
$writer = XML::Handler::CanonXMLWriter OPTIONS; $parser->parse(Handler => $writer);
XML::Handler::CanonXMLWriter
is a PerlSAX handler that will return
a string or write a stream of canonical XML 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;
parse()
'.
Ken MacLeod, ken@bitsko.slc.ut.us
perl(1), PerlSAX
James Clark's Canonical XML definition <http://www.jclark.com/xml/canonxml.html>
XML::Handler::CanonXMLWriter - output XML in canonical XML format |