Initializes a new instance of the XmlCharData class.
Character data.
Gets the character data associated with this node.
The character data associated with this node.
Sets the character data associated with this node.
Character data.
The character data associated with this node.
Gets the parent of this node.
The parent of this node.
Throws an exception since XmlCharData nodes cannot have any children.
This method does not return.
Throws an exception since XmlCharData nodes cannot have any children.
This parameter is unused.
This parameter is unused.
This method does not return.
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.
Throws an exception since XmlCharData nodes cannot have any children.
This parameter is unused.
This method does not return.
Throws an exception since XmlCharData nodes cannot have any children.
This parameter is unused.
This method does not return.
Returns an XML string representation of this node.
Formatting options for the string representation.
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.
Generated using TypeDoc
Represents character data in an XML document.
Restricted characters, such as the ampersand (
&
), the opening angle bracket (<
), and the closing angle bracket (>
) when it appears in the string]]>
, are all automatically escaped.To create an character reference or entity reference, you should use XmlCharRef or XmlEntityRef respectively instead.
XmlCharData nodes cannot have any children.