Oxygen XML Editor
 
[XML-DEV Mailing List Archive Home] [By Thread] [By Date]

Re: [xml-dev] Re: XML design of ((a and b) or c)


  • From: "Andrew Welch" <andrew.j.welch@...>
  • To: "Mitch Amiano" <mitch.amiano@...>
  • Date: Wed, 13 Dec 2006 14:15:58 +0000

It does indeed... The Ant markup is to achieve a true/false result,
whereas I'm trying to model the items that make up an order, so the
result would be a set of elements.

It works for both, I think, so that's fine.

On 12/13/06, Mitch Amiano <mitch.amiano@...> wrote:
> By the way, that's how ANT markup does it too.
>
> Andrew Welch wrote:
> > I wrote:
> >> (a and b) or c
> >>
> >> could be designed as:
> >>
> >> <or>
> >>     <a>
> >>     <and>
> >>         <b/>
> >>         <c/>
> >>     </and>
> >> </or>
> >
> > ...or more correctly:
> >
> > <or>
> >  <and>
> >    <a/>
> >    <b/>
> >  </and>
> >  <c/>
> > </or>
> >
> > :)
>
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor