Last updated 2 years ago
Was this helpful?
The XmlEncode() function converts a text to an XML encoded text.
XmlEncode()
This function is NOT SQL compatible. For more information about SQL compatibility, see our .
Returns an XML encoded text. Returns Invalid expression if the parameter is not a text.
Invalid expression
XmlEncode(
text
)
XmlEncode("\"Line 1\"\n'Line 2'") => "Line 1" 'Line 2'
XmlEncode("\"Line 1\"\n'Line 2'")
a text that is used in an XML element