Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XML Schema question

From: "Petetsky, Alexander" <petetsky@-----.--->
To: <xmlschema-dev@--.--->
Date: 3/5/2007 9:11:00 AM
Hi all,
I have a problem I am trying to find a solution/work around for.
One of the elements in my schema by design must consist of either one =
child elements or a group of  elements with absolutely no restriction on =
the order within this group. So, ideally it would look something like =
the following (though I understand it is invalid):
<xs:complexType name="Parent">
        <xs:choice>
             <xs:element name="E0" type="xs:int" minOccurs="1" =
maxOccurs="unbounded"/>
	 <xs:all minOccurs="0">
               <xs:element name="E1" type="xs:string" />
               <xs:element name="E2" type="xs:string" />
               <xs:element name="E3" type="xs:string" />
             </xs:all>
        </xs:choice>
    </xs:complexType>

Any ideas?
Thanks
--Alex



       


From petetsky@a... Mon Mar 05 23:39:09 2007
Received: from wiggu


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