Table of Contents

XmlEncode

Parameter “XmlEncode” specifies that the XML reserved characters & < > ' ” must be encoded

Character Hexadecimal character reference
&#34;
' &#39;
& &#38;
< &#60;
> &#62;

NOTE: By default the resulting content will be parsed (all <#..> tags will be evaluated) before to apply this filter. You can control this behavior throught the parameter AnalyzeTagParams

Values

Value Description
1 Means that value must be XML-encoded.
0 Means that value must be XML-decoded.

Example

<#BusinessActivity setValue="Health & beauty">
<#BusinessActivity XmlEncode="1">

Output:

Health &#38; beauty