ESCAPE_XML
Description
Returns a string with special XML characters replaced by their corresponding XML entities. Useful for safely including strings within XML documents.
Syntax
ESCAPE_XML(string) -> String
Parameters
| Parameter | Data Type | Required | Description |
|---|---|---|---|
| string | String | Yes | A text value, merge field, or expression to escape. |
Example
ESCAPE_XML("<note priority="high">Review & Approve</note>")
-- Returns "<note priority="high">Review & Approve</note>"