Initializes a new instance of the XmlCharRef class.
The character to represent using the reference.
Whether to use the hexadecimal or decimal representation for the reference. If left undefined, decimal is the default.
Gets the character to represent using the reference.
The character to represent using the reference.
Sets the character to represent using the reference.
The character to represent using the reference.
The character to represent using the reference.
Gets whether or not to use the hexadecimal or decimal representation for the reference.
Whether or not to use the hexadecimal or decimal representation for the reference.
Sets whether or not to use the hexadecimal or decimal representation for the reference.
Whether or not to use the hexadecimal or decimal representation for the reference.
Whether or not to use the hexadecimal or decimal representation for the reference.
Gets the parent of this node.
The parent of this node.
Throws an exception since XmlCharRef nodes cannot have any children.
This method does not return.
Throws an exception since XmlCharRef 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 XmlCharRef nodes cannot have any children.
This parameter is unused.
This method does not return.
Throws an exception since XmlCharRef 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 an XML character reference.
An XML character reference is structured as follows, where
{dec}
is the decimal representation code point corresponding to a particular Unicode character:The corresponding hexadecimal version is structured as follows, where
{hex}
is the hexadecimal representation code point corresponding to a particular Unicode character:Unicode characters outside of the Basic Multilingual Plane are represented using a surrogate pair consisting of two character references.
The
{dec}
and{hex}
values are defined by thechar
andhex
properties of this node; the former is the character to be represented while the latter indicates whether the decimal or hexadecimal representation should be used.XmlCharRef nodes cannot have any children.