xmlEncode (Client API reference)

Converts a string to an XML-encoded string.

Syntax

Xrm.Encoding.xmlEncode(arg)

Parameters

Parameter Name Type Required Description
arg String Required String to be encoded.

Return Value

Type: String

Description: Encoded string.

xmlAttributeEncode