Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: optional, but at least one required

From: Brian Bonner <bkbonner@-----.--->
To: George Cristian Bina <george@---------.--->
Date: 1/10/2006 7:08:00 PM
George, thanks for the tip, I'm assuming that the (a|b|c)+ is the
example that you gave me.  It seemed to do the trick.  I will also try
Vegard's idea to see if that solves the problem.  Thanks.

On 1/6/06, George Cristian Bina <george@o...> wrote:
> Hi Brian,
>
> Then a model like (a|b|c)+ looks like exactly what want.
>
> Best Regards,
> George
> ---------------------------------------------------------------------
> George Cristian Bina
> <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
> www.---.com
>
>
> Brian Bonner wrote:
> > George, Michael,  thanks.
> >
> > I'm sorry I wasn't complete.  Yes, multiple occurrences of a, b and c
> > are allowed.  That's a critical piece I left out.
> >
> >
> > So, someone could create:
> >
> > <options>
> >      <a/>
> > </options>
> >
> > <options>
> >      <a/>
> >      <b/>
> > </options>
> >
> > <options>
> >       <b/>
> > </options>
> >
> > <options>
> >       <a/>
> >       <b/>
> >       <c/>
> > </options>
> >
> > and several others,
> >
> > but not:
> >
> > <options/>
> >
> > So each of them are optional, but *at least* one of them must be
> > specified and multiple can be specified at once.
> >
> > I think George's model which imposes ordering on the elements might do
> > the trick.  I'll give that a shot.
> >
> > Thank you.
> >
> > Brian
>

From mike@s... Wed Jan 11 09:22:26 2006
Received: from lisa.w3.org ([128.30.52.41])
	by frink.


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent