|
|
If tag is a command tag. If wraps a set of command tags with a condition. When the condition defined in its attribute evaluates to true, the command tags in its body will be executed.
The syntax is:
<if value1="expression1" op="comparator" value2="expression2">
<!-- add other command tags here --!>
</if>
The attributes value1, op and value2 are the same as assert tag.