Document Object Model (DOM) Reference
The following tables list the DOM objects, methods, and properties supported by the Tellme VoiceXML interpreter and accessed via the data element. The Tellme VoiceXML interpreter implements a read-only subset of the W3C Document Object Model (DOM) Level 2 Core Specification. Using the data element and the corresponding DOM you can build powerful data-driven voice applications.
Objects
Attribute | Represents an element attribute in the Document Object Model (DOM). |
Attributes | Represents a collection of attribute objects in the Document Object Model (DOM). |
CDATASection | Represents an XML CDATA section in the Document Object Model (DOM). |
Comment | Represents an XML comment in the Document Object Model (DOM). |
Document | Represents an XML document in the Document Object Model (DOM). |
Element | Represents an XML element node in the Document Object Model (DOM). |
Node | Represents a generic node object in an XML document. |
NodeList | Represents an ordered collection of node objects in the Document Object Model (DOM). |
ProcessingInstruction | Represents an XML processing instruction in the Document Object Model (DOM). |
TextNode | Represents an XML text node in the Document Object Model (DOM). |
Properties
attributes | Retrieves an Attributes collection of Attribute objects. |
childNodes | Retrieves a NodeList collection of node objects. |
data | Retrieves the text stored within a TextNode, CDATASection, or Comment. |
documentElement | Retrieves the root element node of the document. |
firstChild | Retrieves the first child of the Node in document source order. |
lastChild | Returns the last child of the Node object in document source order. |
length | Retrieves the number of elements in the collection. |
localName | Retrieves the local name of the node. |
name | Retrieves the name of the Attribute. |
namespaceURI | Retrieves the namespace URI of the node. |
nextSibling | Retrieves the next sibling of the Node in document source order. |
nodeName | Retrieves the name of the node. |
nodeType | Retrieves the type of the node. |
nodeValue | Retrieves the value of the node. |
ownerDocument | Retrieves a reference to the Document object that contains the Node. |
ownerElement | Retrieves the Element to which the Attribute belongs. |
parentNode | Retrieves the parent Node to which the node belongs. |
prefix | Retrieves the namespace prefix of the node. |
previousSibling | Retrieves the previous sibling of the Node in document source order. |
text | Retrieves the contents of all the text nodes contained by the Node and any element nodes that it contains. ** |
value | Retrieves the value of the Attribute. |
Methods
getAttribute | Retrieves the value of the specified attribute. |
getAttributeNS | Retrieves the value of the attribute with the specified local name and namespace URI. |
getAttributeNode | Retrieves an Attribute object encapsulating the named attribute. |
getAttributeNodeNS | Retrieves an Attribute object with the specified local name and namespace URI. |
getElementById | Returns the Node object that has an id attribute with the specified value. |
getElementsByTagName | Returns a NodeList collection of descendant element nodes with the specified name. |
getElementsByTagNameNS | Returns a NodeList collection of descendant element nodes with the specified local name and namespace URI. |
getNamedItem | Retrieves from an Attributes collection the attribute with the specified nodeName. |
getNamedItemNS | Retrieves from an Attributes collection the attribute with the specified local name and namespace URI. |
hasAttribute | Returns whether or not the Element has the specified attribute. |
hasAttributeNS | Returns whether or not the Element has an attribute with the specified local name and namespace URI. |
hasAttributes | Returns whether or not the Node has attributes. |
hasChildNodes | Returns whether or not the Node has children. |
item | Retrieves an object from the collection by its index. |
substringData | Extracts a range of characters from the contents of a TextNode, Comment, or CDATASection. |


