Re: mixing orderer and unordered elements

Hi, Mark,

thanks for the suggestion but

On Tuesday 11 June 2002 17:14, Mark Feblowitz wrote:
> How about:
>
> 	<xs:element name="Root">
> 		<xs:complexType>
> 			<xs:sequence>
> 				<xs:element name="Seq1"/>
> 				<xs:element name="Seq2"/>
> 				<xs:sequence>
> 					<xs:choice maxOccurs="unbounded">
> 						<xs:element
> name="Unordered1"/>
> 						<xs:element
> name="Unordered2"/>
> 					</xs:choice>
> 				</xs:sequence>
> 			</xs:sequence>
> 		</xs:complexType>
> 	</xs:element>

wouldn't that also allow:

  <Root>
     <Seq1/>
     <Seq2/>
     <Unordered2/>
     <Unordered1/>
     <Unordered2/>
  </Root>

which is not what I want...
--
Torsten

Received on Wednesday, 12 June 2002 03:55:26 UTC