This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:parameters:xmlencode [2013/01/19 11:46] admin created |
en:public:developer:template_system:tags:parameters:xmlencode [2013/01/28 17:46] (current) admin [Values] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== XmlEncode ===== | ===== XmlEncode ===== | ||
- | Parameter "XmlEncode" specifies that the XML reserved characters & < > ' " must encoded | + | Parameter "XmlEncode" specifies that the XML reserved characters & < > ' " must be encoded |
^ Character ^ Hexadecimal character reference ^ | ^ Character ^ Hexadecimal character reference ^ | ||
- | | " | <html>"</html> | + | | " | " | |
- | | ' | ' | + | | ' | ' | |
- | | & | & | + | | & | & | |
- | | < | < | + | | < | < | |
- | | > | > | + | | > | > | |
+ | |||
+ | **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 | ||
+ | [[en:public:developer:template_system:tags:parameters:AnalyzeTagParams]] | ||
==== Values ==== | ==== Values ==== | ||
^ Value ^ Description ^ | ^ Value ^ Description ^ | ||
- | | <html><span style="color:#008000">XmlEncode=1</span></html> | Means that value must be XML-encoded. If something else if specified this parameter will be ignored. | | + | | <html><span style="color:#008000">1</span></html> | Means that value must be XML-encoded. | |
- | + | | <html><span style="color:#008000">0</span></html> | Means that value must be XML-decoded. | | |
- | ==== 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 | + | |
- | [[en:public:developer:template_system:tags:parameters:analyzetagparams]]=0 is present (in the way the tags will be | + | |
- | left untouched) | + | |
==== Example ==== | ==== Example ==== |