Predefined entity references

A predefined entity reference is a short sequence of characters that represents a character that has some syntactic significance in Db2 XQuery. A predefined entity reference begins with an ampersand (&) and ends with a semicolon (;). When a string literal is processed, each predefined entity reference is replaced by the character that it represents.

The following table lists the predefined entity references that Db2 XQuery recognizes.

Table 1. Predefined entity references in Db2 XQuery
Entity reference Character represented
&lt; <
&gt; >
&amp; &
&quot; "
&apos; '