docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 5.1Web Developer ManualCompatibility
Copyright  2013, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com



<counter>
<cset>
<if eval>

<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.