escapeXML()
This function converts text a into a format that can be used in XML. This is achieved by using a CDATA block.
Parameters
|
Parameter |
Description |
|
a |
Text. |
Examples
|
Parameter a |
Result |
|
This is normal text including characters < & > |
<![CDATA[This is normal text including characters < & >]]> |