OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Fwd: [katrina-dev] Looking for XML Schema advice

[ Lists Home | Date Index | Thread Index ]

>> 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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS