[This is preliminary documentation and is subject to change.]
Escapes an XML string by replacing the characters shown below with their
equivalent entity references as defined by the XML specification.
- str (String)
- The source string
The escaped string
| Character | Entity Reference |
| < | < |
| > | > |
| & | & |
| ' | ' |
| " | " |