Properties
| async* | Indicates whether asynchronous download is permitted. Read/write. |
| attributes | Contains the list of attributes for this node. Read-only. |
| baseName* | Returns the base name for the name qualified with the namespace. Read-only. |
| childNodes | Contains a node list containing the children (for nodes that can have children). Read-only. |
| dataType* | Specifies the data type for this node. Read/write. |
| definition* | Returns the definition of the node in the DTD or schema. Read-only. |
| doctype | Contains the document type node that specifies the DTD for this document. Read-only. |
| documentElement | Contains the root element of the document. Read/write. |
| firstChild | Contains the first child of this node. Read-only. |
| implementation | Contains the XMLDOMImplementation object for this document. Read-only. |
| lastChild | Returns the last child node. Read-only. |
| namespaceURI* | Returns the URI for the namespace. Read-only. |
| nextSibling | Contains the next sibling of this node in the parent's child list. Read-only. |
| nodeName | Contains the qualified name of the element, attribute, or entity reference, or a fixed string for other node types. Read-only. |
| nodeType | Specifies the XML DOM node type, which determines valid values and whether the node can have child nodes. Read-only. |
| nodeTypedValue* | Contains this node's value expressed in its defined data type. Read/write. |
| nodeTypeString* | Returns the node type in string form. Read-only. |
| nodeValue | Contains the text associated with the node. Read/write. |
| ondataavailable* | Specifies the event handler for the ondataavailable event. Read/write. |
| onreadystatechange* | Specifies the event handler to be called when the readystate property changes. Read/write. |
| ontransformnode* | Specifies the event handler for the ontransformnode event. Read/write. |
| ownerDocument | Returns the root of the document that contains this node. Read-only. |
| parentNode | Contains the parent node (for nodes that can have parents). Read-only. |
| parsed* | Contains true if this node and all descendants have been parsed and instantiated, or false if any nodes remain to be parsed. Read-only. |
| parseError* | Returns an XMLDOMParseError object that contains information about the last parsing error. Read-only. |
| prefix* | Returns the namespace prefix. Read-only. |
| preserveWhiteSpace* | Contains true if default processing preserves white space, or false otherwise. Read/write. |
| previousSibling | Contains the left sibling of this node. Read-only. |
| readyState* | Indicates the current state of the XML document. Read-only. |
| resolveExternals* | Indicates whether external definitions (resolvable namespaces, DTD external subsets, and external entity references) are to be resolved at parse time, independent of validation. Read/write. |
| specified* | Indicates whether the node (usually an attribute) is explicitly specified or derived from a default value in the DTD or schema. Read-only. |
| text* | Contains the text content of the node and its subtrees. Read/write. |
| url* | Returns the canonicalized URL for the last loaded XML document. Read-only. |
| validateOnParse* | Indicates whether the parser should validate this document. Read/write. |
| xml* | Contains the XML representation of the node and all its descendants. Read-only. |
Methods
| abort* | Aborts an asynchronous download in progress. |
| appendChild | Appends newChild as the last child of this node. |
| cloneNode | Creates a new node that is an exact clone of this node. |
| createAttribute | Creates a new attribute with the specified name. |
| createCDATASection | Creates a CDATA section node that contains the supplied data. |
| createComment | Creates a comment node that contains the supplied data. |
| createDocumentFragment | Creates an empty document fragment object. |
| createElement | Creates an element node using the specified name. |
| createEntityReference | Creates a new entity reference object. |
| createNode* | Creates a node using the supplied type, name, and namespace. |
| createProcessingInstruction | Creates a ProcessingInstruction node that contains the supplied target and data. |
| createTextNode | Creates a text node that contains the supplied data. |
| getElementsByTagName | Returns a collection of elements that have the specified name. |
| hasChildNodes | Returns true if this node has children. |
| insertBefore | Inserts a child node to the left of the specified node or at the end of the list. |
| load* | Loads an XML document from the specified location. |
| loadXML* | Loads an XML document using the supplied string. |
| nodeFromID* | Returns the node whose ID attribute matches the supplied value. |
| removeChild | Removes the specified child node from the list of children and returns it. |
| replaceChild | Replaces the specified old child node with the supplied new child node in the set of children of this node, and returns the old child node. |
| save* | Saves an XML document to the specified location. |
| selectNodes* | Applies the specified pattern-matching operation to this node's context and returns the list of matching nodes. |
| selectSingleNode* | Applies the specified pattern-matching operation to this node's context and returns the first matching node. |
| transformNode* | Processes this node and its children using the supplied XSL style sheet, and returns the resulting transformation. |
| transformNodeToObject* | Processes this node and its children using the supplied XSL style sheet, and returns the resulting transformation in the supplied object. |
Events
| ondataavailable* | Indicates that XML document data is available. |
| onreadystatechange* | Indicates when the readyState property changes. |
| ontransformnode* | Fires before each node in the style sheet is applied to each node in the XML source. |
* denotes an extension to the W3C DOM.
See Also