Gets the parent of this node.
The parent of this node.
Gets the text associated with this node.
The text associated with this node.
Sets the text associated with this node.
Arbitrary character data.
The text associated with this node.
Gets the node that follows this one, or undefined if no such node exists or if this node has no parent.
The node that follows this one, or undefined if no such node exists or if this node has no parent.
Gets the node that is previous to this one, or undefined if no such node exists or if this node has no parent.
The node that is previous to this one, or undefined if no such node exists or if this node has no parent.
Removes this node from its parent if this node has a parent.
This node's parent, or undefined if it has no parent.
Returns an XML string representation of this node.
An XML string representation of this node.
Returns the root node of the current hierarchy. If this node has no parent, this node itself is returned.
The root node of the current hierarchy.
Gets the parent of this node.
The parent of this node.
Generated using TypeDoc
Represents text in an XML document.
This text may only consist of character data, not markup. Restricted characters, such as the ampersand (
&
) and the opening angle bracket (<
) are all automatically escaped.To create an character reference or entity reference, you should use XmlCharRef or XmlEntityRef respectively instead.
XmlText nodes cannot have any children.