User Tools

Site Tools


en:public:developer:template_system:tags:parameters:xmlencode

This is an old revision of the document!


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
XmlEncode=1 Means that value must be XML-encoded.

Example

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

Output:

Health &#38; beauty
en/public/developer/template_system/tags/parameters/xmlencode.1359380791.txt.gz · Last modified: 2013/01/28 17:46 by admin