Or Condition
The Or Condition
The Or Condition can be used to combine several conditions with the OR logical operator.
Example:
<condition type="..." id="installonlinux">...</condition> <condition type="..." id="installonwindows">...</condition> <condition type="..." id="installonsolaris">...</condition> <condition type="or" id="installon-windows-linux-solaris"> <condition type="ref" refid="installonlinux" /> <condition type="ref" refid="installonwindows" /> <condition type="ref" refid="installonsolaris" /> </condition>
Nested Elements
The Or condition must have at least one reference to a condition. There is no upper limit for the number of subconditions.
condition
A reference to a condition, which will be evaluated and combined with the other conditions using the OR operator.