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 documentation.
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
Last updated 8 months ago
Was this helpful?