DOM Structure and Hierarchy

The interfaces of the model object of HTML or XML document are derived from the common interface, Node, except lists of nodes.

Interfaces to the structure

The Node interface offers methods to modify the document structure, which all derived interfaces inherit.
All interfaces, such as Node, allow to add, delete, or replace elements of the branches.

Node

NodeList

List of nodes accessed by index position in a table.

NamedNodeMap

List of nodes accessible by name.

Interfaces to content

These interfaces also derived from Node can read the textual content of a tag or property, and modify it.

Node

ProcessingInstruction

Represents an instruction to execute.

Interfaces to metadata

Allow to obtain information on the type of document. Data can only be read or added when creating the document.

Node

Data types

DOMString

String.

DOMTimeStamp

A number of milliseconds.

© 2009-2012 Xul.fr