Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: optional, but at least one required

From: "Michael Kay" <mike@--------.--->
To: <bkbonner@-----.--->, <xmlschema-dev@--.--->
Date: 1/5/2006 9:46:00 AM
You need to specify the requirements in a little more detail:

* are multiple occurrences of a, b, and c allowed?

* what constraints do you want to impose on the ordering of the elements?

Michael Kay
http://www.saxonica.com/
 

> -----Original Message-----
> From: xmlschema-dev-request@w... 
> [mailto:xmlschema-dev-request@w...] On Behalf Of Brian Bonner
> Sent: 04 January 2006 19:22
> To: xmlschema-dev@w...
> Subject: optional, but at least one required
> 
> 
> Hello,
> 
> Is there a way through restrictions or xmlschema in general to create
> the following criteria?
> 
> <options>
>      <a></a>
>      <b></b>
>      <c></c>
> </options>
> 
> where the rule is that a, b and c are all optional, but at least one
> of a, b or c is required.
> 
> Thanks.
> 
> Brian
> 
> 
> 



From bob@n... Thu Jan 05 14:02:08 2006
Received: from maggie.w3.org ([


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