Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Jeff Rafter <lists@----------.--->
To: Bill Humphries <bill@-----.--->
Date: 9/7/2005 1:15:00 AM
>> 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


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