docs.roxen.comBack to normal mode
DocsRoxenWebServer 6.1Web Developer ManualCompatibility
Copyright © 2019, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com

<if eval></if>

Provided by module: Tags: RXML tags

Deprecated due to non-XML compliancy. The XML standard says that attribute-values are not allowed to contain any markup. The <if eval> tag was deprecated in Roxen 2.0.

<!-- If eval statement --> <if eval="<foo>">x</if> <!-- Compatible statement --> <define variable="var.foo" preparse="preparse"><foo/></define> <if sizeof="var.foo">x</if>

A similar but more XML compliant construct is a combination of <set variable> and an apropriate <if> plugin.