Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


at least one

From: Debora Vanni <debora.vanni@------.--->
To: xmlschema-dev@--.---
Date: 5/22/2006 6:11:00 PM
Sorry to bother you again,
I try to look around but I can't find a solution.
I would like to know if there is some way in XSD to say that a complex
element should be composed by any but at least one element of a group(=
some) of elements.
For example:
the group is :
	<high></high>
	<medium></medium>
	<low></low>

This is CORRECT:
<filters>
	<high></high>
	<medium></medium>
	<low></low>
</filters>

This is CORRECT:
<filters>
	<high></high>
	<low></low>
</filters>

This is INCORRECT:
<filters>

</filters>
I know the maximum number of elements of the group but I don't know
which and how many they could choose. Everything it's ok but there
should be at least one!
Thank you for you help
Debora Vanni




From george@o... Mon May 22 14:28:14 2006
Received: f


transparent
Print
Mail
Like It
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