Re: [xml-dev] Constraining XML instances using standard logic properties
I have a sibling, Matt, and another sibling Erika. They are not siblings.
(True story: I share a different parent with each).
I guess the moral is that you need to be careful about assuming that these properties are fundamental and universally true, or if they depend on some other context or definition...
On Tue, 10 Jan 2017 at 22:17 David Carlisle <[email protected]> wrote:
> 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
anythingor boolean(anything) if it isn't already a boolean expression.David