XOr

Description

Returns True if one and only one of the two specified Boolean expressions evaluates to True.

Syntax

Xor(Expression1, Expression2: Boolean): Boolean 

Example

XOr(NodeIsLeaf(),Equals(Integer,PropValue(Level),3))

If the node is a leaf, or is at level 3 in the hierarchy but not both, then the return value is True.