docs.roxen.comView this page in a printer friendly mode
DocsRoxen2.2Web Site Creator ManualCompatibility
Copyright © 2004, 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 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 <define variable> and an apropriate <if> plugin.