Loading TOC...

CharacterData functions

The table below lists all the CharacterData built-in functions (in this namespace: CharacterData).

CharacterData is a subtype of XMLNode.

An XML text or comment node.
23 functions
Function name Description
CharacterData.attributes This is inherited from the XMLNode object. The attributes of this node.
CharacterData.childNodes This is inherited from the XMLNode object. The children of this node.
CharacterData.data The character data.
CharacterData.firstChild This is inherited from the XMLNode object. The first child of this node, if any.
CharacterData.hasAttributes This is inherited from the XMLNode object. Whether this node has attributes.
CharacterData.hasChildNodes This is inherited from the XMLNode object. Whether this node has any children.
CharacterData.isElementContentWhitespace Whether this text node is ignorable whitespace.
CharacterData.isEqualNode This is inherited from the XMLNode object. Whether this node is equal to another node.
CharacterData.isSameNode This is inherited from the XMLNode object. Whether this node is the same exact node as another node.
CharacterData.lastChild This is inherited from the XMLNode object. The last child of this node, if any.
CharacterData.length The length of the character data (codepoints).
CharacterData.localName This is inherited from the XMLNode object. Return the local name of this node.
CharacterData.namespaceURI This is inherited from the XMLNode object. Return the namespace URI of this node.
CharacterData.nextSibling This is inherited from the XMLNode object. The node that is the immediately following sibling of this node, if any.
CharacterData.nodeName This is inherited from the XMLNode object. The DOM name of the node.
CharacterData.nodeValue This is inherited from the XMLNode object. The DOM value of the node.
CharacterData.ownerDocument This is inherited from the XMLNode object. The document node containing this node, if any.
CharacterData.parentNode This is inherited from the XMLNode object. The node that is this node's parent.
CharacterData.prefix This is inherited from the XMLNode object. Return the namespace prefix of this node.
CharacterData.previousSibling This is inherited from the XMLNode object. The node that is the immediately preceding sibling of this node, if any.
CharacterData.substring A substring of the character data, starting at a given offset and continuing for a given length.
CharacterData.textContent This is inherited from the XMLNode object. The DOM text value of the node.
CharacterData.wholeText The text of the text node concatenated with its logically adjacent text nodes.