Characters can be escaped using character references, in element content or attribute values. Their Unicode codepoint can be specified in decimal or hex.
<?xml version="1.0"?>
<document>
The line feed character can be escaped with a decimal (&#10;) or hex (&#xA;)
...