However, for a user of XPath, I think providing the operator that directly
translates to the concept a user might be looking for, rather than a
'logically equivalent' operator, is a nice thing to do. It seems a simple
enough translation, but if I can spare my business users of XPath from
needing to make one more small leap in their boolean algebra cogitations,
then I'd be happy to do so.
Well, you can always wrap it in a function
declare function f:xor($a as xs:boolean, $b as xs:boolean) as xs:boolean {
$a != $b
}
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay