GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


NAME

       XML::Handler::CanonXMLWriter - output XML in canonical XML format

SYNOPSIS

        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 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;

OPTIONS

       IOHandle
           IOHandle contains a handle for writing the canonical XML to.  If an
           IOHandle is not provided, the canonical XML string 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.us

SEE ALSO

       perl(1), PerlSAX

       James Clark's Canonical XML definition
       <http://www.jclark.com/xml/canonxml.php>



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.150 seconds. Last modified: November 04 2018 12:49:43.