13.5.1 Objects in the DOM

The definitive documentation for the DOM is the DOM specification from the W3C.

Note that DOM attributes may also be manipulated as nodes instead of as simple strings. It is fairly rare that you must do this, however, so this usage is not yet documented.

Interface  Section  Purpose 
DOMImplementation Interface to the underlying implementation.
Node Base interface for most objects in a document.
NodeList Interface for a sequence of nodes.
DocumentType Information about the declarations needed to process a document.
Document Object which represents an entire document.
Element Element nodes in the document hierarchy.
Attr Attribute value nodes on element nodes.
Comment Representation of comments in the source document.
Text Nodes containing textual content from the document.
ProcessingInstruction Processing instruction representation.

An additional section describes the exceptions defined for working with the DOM in Python.


Subsections
See About this document... for information on suggesting changes.