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 encoded

Character Hexadecimal character reference
'
&
<
>

Values

Value Description
XmlEncode=1 Means that value must be XML-encoded. If something else if specified this parameter will be ignored.

Note

If the Result string that must be xml Encoded contain some tags (like for exemple <#MyTag>), then theses tags will be first evaluated before to be xml encoded, unless the Parameter analyzetagparams=0 is present (in the way the tags will be left untouched)

Example

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

Output:

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