8.6.2 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 8.6.2 Interface to the underlying implementation.
Node 8.6.2 Base interface for most objects in a document.
NodeList 8.6.2 Interface for a sequence of nodes.
DocumentType 8.6.2 Information about the declarations needed to process a document.
Document 8.6.2 Object which represents an entire document.
Element 8.6.2 Element nodes in the document hierarchy.
Attr 8.6.2 Attribute value nodes on element nodes.
Comment 8.6.2 Representation of comments in the source document.
Text 8.6.2 Nodes containing textual content from the document.
ProcessingInstruction 8.6.2 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.