String SXMLDecode Example

The following example performs an SXML decode on an input string. The string.sxmldecode and sxml.decode vipers produce exactly the same results.

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