XmlEncode

The XmlEncode() function converts a text to an XML encoded text.

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.

Syntax

XmlEncode(text)

XmlEncode("\"Line 1\"\n'Line 2'") => "Line 1" 'Line 2'

Parameters

NameTypeRequiredDescription

text

text

☑️

a text that is used in an XML element

Last updated