Case of a Single Condition
If c is a single condition (only one of the leaf conditions), then it may be written in either one of the forms:
<Condition>
<And>
c
</And>
</Condition>
or
<Condition>
<Or>
c
</Or>
</Condition>
In these cases, the logical operator is ignored because it requires two operands and only one is supplied. The above expressions are equivalent and simply mean "if c is satisfied."
Was this helpful?