Altova Mailing List Archives


Schema Structure Question

From: Wendy Attenberger <Wendy.Attenberger@-----.--->
To: "'xmlschema-dev@--.---'" <-------------@--.--->
Date: 3/26/2003 9:54:00 AM
<Alphabet> 
<A> 
<B> 
<C> 
</Alphabet> 
In the schema, how do you indicate that at least one item is required (A,B
or C), but also allow for some ("A and B" OR "B and C", etc.) items or all
items(A,B, & C) to be present in the xml? 
We've messed around with the <xs:choice>, <xs:all> ,minOccurs and maxOccurs,
but we can't get the right combination? Any ideas? Thanks. 
Wendy 

CONFIDENTIALITY AND DISCLAIMER NOTICE

This e-mail is intended only for xmlschema-dev@w... and the contents
should not be disclosed to any other person nor copies taken. Any views or 
opinions presented are solely those of Wendy.Attenberger@n... and do not necessarily
represent those of the organization they work for unless otherwise specifically 
stated. As internet communications are not secure we do not accept legal 
responsibility for the contents of this message nor responsibility for any change
 made to this message after it was sent by the original sender. We advise you 
to perform your own virus check before opening any attachment as we cannot
accept liability for any damage sustained as a result of any software viruses.


From xmlschema-dev-request@t... Thu Mar 27 09:

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.