[Home] [By Thread] [By Date] [Recent Entries]


>> Is there any other way to allow an element to have subelements in
>> any order, with one of those elements occurring possibly many times?
>> If it isn't possible to express this in XML Schema, that would be good
>> to know too.
>>
>> Thanks for your help.

Hi Bill,

<xs:choice maxOccurs="unbounded">
   [elements]
</xs:choice>

Is your only option in XML Schema. In RelaxNG you can use an interleave 
to accomplish exactly what you want-- but in XML Schema the xs:all 
element is limited exactly as you/Ping have discovered.

All the best,
Jeff Rafter

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member