Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "Chiusano Joseph" <chiusano_joseph@---.--->
To: <lists@----------.--->, "Bill Humphries" <bill@-----.--->
Date: 9/7/2005 1:35:00 AM
> -----Original Message-----
> From: Jeff Rafter [mailto:lists@j...] 
> Sent: Tuesday, September 06, 2005 9:15 PM
> To: Bill Humphries
> Cc: xml-dev@l...
> Subject: Re: [xml-dev] Fwd: [katrina-dev] Looking for XML 
> Schema advice
> 
> >> 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. 

Is it possible you meant <xs:sequence> rather than <xs:choice>? I don't
believe the question mentioned choice.

Joe 

Joseph Chiusano
Booz Allen Hamilton
O: 703-902-6923
C: 202-251-0731
Visit us online@ http://www.boozallen.com
 

> 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
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org 
> <http://www.xml.org>, an initiative of OASIS 
> <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://www.oasis-open.org/mlmanage/index.php>
> 
>


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