A character reference is structured as follows, where {dec} is the
decimal representation code point corresponding to a particular Unicode
character:
&#{dec};
The corresponding hexadecimal version is structured as follows, where
{hex} is the hexadecimal representation code point corresponding to a
particular Unicode character:
&#x{hex};
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 the char and hex
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.
Represents a character reference.
A 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.