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

<if eval></if>

Provided by module: Tags: RXML 2 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.