![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: specify element type depending of same element attribute value? >Thread Next - Re: at least one at least oneTo: 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 | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
