|
NAMEXML::Canonical - Perl Implementation of Canonical XMLSYNOPSISuse XML::Canonical; $canon = XML::Canonical->new(comments => 1); $canon_xml = $canon->canonicalize_string($xml_string); $canon_xml = $canon->canonicalize_document($xmlgdome_document); my @nodes = $doc->findnodes(qq{(//*[local-name()='included'] | //@*)}); my $canon_output = $canon->canonicalize_nodes($doc, \@nodes); DESCRIPTIONThis module provides an implementation of Canonical XML Recommendation (Version 1, 15 March 2001). It uses XML::GDOME for its DOM tree and XPath nodes.It provides a XS wrapper around libxml2's Canonical XML code. METHODS
TODOSupport for XML Signature and upcoming XML Encryption. Probably as an XS wrapper to XMLSec Library, see http://www.aleksey.com/xmlsec/Support XML::LibXML as well as XML::GDOME. NOTESThis module is in early alpha stage. It is suggested that you look over the source code and test cases before using the module. In addition, the API is subject to change.This module implements the lastest w3 recommendation, located at http://www.w3.org/TR/2001/REC-xml-c14n-20010315 Comments, suggestions, and patches welcome. AUTHORT.J. Mather, <tjmather@tjmather.com>COPYRIGHTCopyright (c) 2002 T.J. Mather. XML::Canonical is free software; you may redistribute it and/or modify it under the same terms as Perl itself.SEE ALSOXML::GDOME, XML::Handler::CanonXMLWriter.
Visit the GSP FreeBSD Man Page Interface. |