Jump to letter:
9ABCDEFGHIJKLMNOPRSTUVWXYZ
perl-XML-LibXML-Common - XML-LibXML-Common - Routines and Constants common for XML::LibXML and XML::GDOME
Website: |
http://www.cpan.org |
License: |
Artistic |
Vendor: |
Christian Glahn <christian.glahn@uibk.ac.at> |
- Description:
XML::LibXML and XML::GDOME share some of the same functionality. This
package should bundle some shared constansts and functions, so both
modules may coexist within the same scripts.
XML::LibXML::Common defines all node types as constants. While
XML::LibXML and XML::GDOME originally declared their own node type
definitions, one may want to use XML::LibXML::Common in its
compatibility mode:
=over 4
=item * use XML::LibXML::Common qw(:libxml);
:libxml will use the XML::LibXML Compatibility mode, which defines the
old 'XML_' node-type definitions
=item * use XML::LibXML::Common qw(:gdome);
This allows one to use the XML::LibXML Compatibility mode, which
defines the old 'GDOME_' node-type definitions
=item * use XML::LibXML::Common qw(:w3c);
This uses the nodetype definition names as specified for DOM.
=item * use XML::LibXML::Common qw(:encoding);
This is ment if only the encoding functions of XML::LibXML::Common
should be used.
=back
By default the W3 definitions as defined in the DOM specifications and
the encoding functions are exported by XML::LibXML::Common.
Packages