Re: [xml-dev] Constraining XML instances using standard logic properties

From
David Carlisle <>
To
"Costello, Roger L." <>
Date
2017-01-10T22:17:08Z
ID
<CAEW6iOibYbp7Bz87MujOSxbF-HxFy4LWgWA5udy-=>
Thread
Re: [xml-dev] Constraining XML instances using standard logic properties

>   if (../Sibling[(Person1 eq $from) and (Person2 eq $i/Person2)]) then true()
                                                               else false())



if(anything) then true() else false()

can be more simply written as

anything

or boolean(anything) if it isn't already a boolean expression.

David