String SXMLEncode Example

The following example performs an sxml encoding on an input string. The string.sxmlencode and sxml.encode vipers produce exactly the same results.

Smartsite SXML CopyCode image Copy Code
{string.sxmlencode('<{foo}>')}
{sxml.encode('<{foo}>')}
Example Result CopyCode image Copy Code
<{foo}>
<{foo}>
SXML