XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
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 <d.p.carlisle@gmail.com> 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

anything

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

David




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS