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

   

<else>
<elseif>
<false>
<if>
<if accept>
<if client>
<if clientvar>
<if config>
<if cookie>
<if date>
<if defined>
<if domain>
<if exists>
<if expr>
<if false>
<if group>
<if internal-exists>
<if ip>
<if kerberos-auth>
<if language>
<if match>
<if Match>
<if module>
<if pragma>
<if prestate>
<if referrer>
<if sizeof>
<if supports>
<if time>
<if true>
<if type-from-data>
<if type-from-filename>
<if user>
<if variable>
<if Variable>
<then>
<true>

<if match></if>

Provided by module: Tags: RXML tags

Evaluates patterns. More information can be found in the If tags tutorial. Match is an Eval plugin.


Attributes

match="pattern"

Choose what pattern to test. The pattern could be any expression.

Note! The pattern content is treated as strings. Compare how <if variable> tag works.

<set variable='var.ten' value='10' /> <if match='&var.ten; is 10'>true</if> <else>false</else>
true