XML::DOM2::DOM::Document
Base class for document objects, extends the DOM with document specific methods.
Create a new XML Document Type.
Creates a new XML Document.
Returns the main document as an element! it's no longer a document object.
Returns a document type object for this document.
Adds an id of an element, used internaly.
Removes an id of an element, used internaly.
Returns the element with that id in this document.
Adds an element to the elements list, used internaly.
Remove the specified element from the elements list, used internaly.
Get all elements of the specified type/tagName; if none is specified, get all elements in document.
Get all the element types in use in the document.
Add a definition to the document.
Return all definitions in document.
Return a namespace based on the uri or prefix.
Create a new namespace within this document.
Add namespace to this document.
Remove a namespace from this document.
Creates a new element of type name.
Create an element in a namespace.
Create a textnode element.
Create a comment element
create a CDATA element.
Martin Owens, doctormo@cpan.org
XML::DOM2
To install XML::DOM2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::DOM2
CPAN shell
perl -MCPAN -e shell install XML::DOM2
For more information on module installation, please visit the detailed CPAN module installation guide.