XML references allow us to have symbols in XML text, that are not allowed to be included directly. References begin with the symbol
&
which is a reserved character and end with the symbol
;
XML has two types of references: ... 1.
Entity Reference
− which contains a name between the start and the end delimiters. For example
&
where amp is name. The name refers to
&
symbol. ... 2.
Character Reference
− contains reference, such as
A
contains a hash mark
#
followed by a number. The number refers to the Unicode code of a character. In this case, 65 refers to alphabet
A
by Valeri Tandilashvili
4 years ago
XML
XML Tutorial
0
Pro tip: use ```triple backticks around text``` to write in code fences