Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries [Thread Prev] >Thread Next - Attributes from a different namespace XML Schema questionTo: <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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
