Choose what pattern to test. The pattern could be any expression.
Note!: The pattern content is treated as strings:
<set variable='var.hepp' value='10' />
<if match='var.hepp is 10'>
true
</if>
<else>
false
</else> |
false
|
|
This example shows how the plugin treats "var.hepp" and "10"
as strings. Hence when evaluating a variable as part of the pattern,
the entity associated with the variable should be used, i.e.
&var.hepp; instead of var.hepp. A correct example would be:
<set variable='var.hepp' value='10' />
<if match='&var.hepp; is 10'>
true
</if>
<else>
false
</else> |
true
|
|
Here, is treated as an entity and parsed
correctly, letting the plugin test the contents of the entity.