<elif> an <else> with a condition

name
elif
xml namespace
http://moyaproject.com

Executes the enclosed block if a previous <if> (or <elif>) statement is false, and another condition is true.

Example

<if test="hobbits == 0">
    <echo>There are no hobbits</echo>
</if>
<elif test="hobbits == 1">
    <echo>There is one hobbit</echo>
</elif>
<else>
    <echo>There are many hobbits</echo>
</else>
attributes
name purpose type required? default choices
test Test expression expression Yes
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes