The XmlEncode()
function converts a text to an XML encoded text.
Syntax
XmlEncode(text)
Returns
An XML encoded text
Parameters
text
– a text that is used in an XML element
Examples
XmlAttributeEncode("Please repeat after me: \"I love to work with WEM.\".")
/* Return "Please repeat after me: \"I love to work with WEM.\"." */
XmlAttributeEncode("L' = 3 < x & x > 6")
/* Return "L' = 3 < x & x > 6" */