escapeXml

Description: This function prepares the Subject to be inserted into XML document by escaping the characters in a String using XML entities. The function correctly escapes quotes, apostrophe, ampersand, <, > and control-chars.

Subject Type: String

Arguments: No arguments

Return Type: String

Examples: If the "message" attribute is '"bread" & "butter"', then the Expression ${message:escapeXml()} will return '"bread" & "butter"'