Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for xml::grove::ascanonxml (redhat section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

XML::Grove::AsCanonXML(3)      User Contributed Perl Documentation	XML::Grove::AsCanonXML(3)

       XML::Grove::AsCanonXML - output XML objects in canonical XML

	use XML::Grove::AsCanonXML;

	# Using as_canon_xml method on XML::Grove objects:
	$string = $xml_object->as_canon_xml( OPTIONS );

	# Using an XML::Grove::AsCanonXML instance:
	$writer = XML::Grove::AsCanonXML->new( OPTIONS );

	$string = $writer->as_canon_xml($xml_object);
	$writer->as_canon_xml($xml_object, $file_handle);

       "XML::Grove::AsCanonXML" will return a string or write a stream of canonical XML for an
       XML object and it's content (if any).

       "XML::Grove::AsCanonXML" objects hold the options used for writing the XML objects.
       Options can be supplied when the the object is created,

	   $writer = XML::Grove::AsCanonXML->new( Comments => 1 );

       or modified at any time before writing an XML object by setting the option directly in the
       `$writer' hash.

	   By default comments are not written to the output.  Setting comment to TRUE will
	   include comments in the output.

       Ken MacLeod, ken@bitsko.slc.ut.us

       perl(1), XML::Parser(3), XML::Grove(3).

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

perl v5.8.0				    1999-08-17			XML::Grove::AsCanonXML(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 07:49 AM.