Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - Re: Hiding namespace prefixes in the instance document >Thread Next - abstract elements and xsi:type substitution using xs:choice inside xs:allTo: xmlschema-dev@--.--- Date: 1/9/2006 4:19:00 AM Hi , I am trying for an XML Schema which would achieve the following functionality... [1] Atleast one or both of "element1" or "element2" can occur [2] Atleast one or a combination of <element3>....<element5> [3] <element1> ....<element<5> can occur in any order. <Root-element> <element1>a</element1> <element2>b</element2> <element3>c<element3> <element4>d<element4> <element5>e<element5> </Root-element> I was able to achieve [1] & [2] by using a <xs:choice maxOccurs="unbounde= d"> for the two sets of elements and arrange it inside a <xs:sequence> but the functionality I want is without ordering. Any help on this is appreciated. Regards, Mahesh | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
