Some characters and symbols must be encoded for a proper XML syntax:
Description | Character | XML representation |
---|---|---|
Less Than | < | < |
Greater Than | > | > |
Quote | " | " |
Ampersand | & | & |
Apostrophe | ' | ' |
Binary data must be encoded in hexadecimal notation:
Description | XML representation |
---|---|
CR (carriage return) | 
 |
LF (line feed) | 
 |
NULL-byte | � |
Any byte hex code | &#x<byte hex code>; |