Hello Dane,

this should do:

<xsd:complexType name="myComplexType">
  <choice minOccurs="0" maxOccurs="unbounded">
    <xsd:element ref="some_ref" minOccurs="1" maxOccurs="1"/>
    <xsd:element ref="some_other_ref" minOccurs="1" maxOccurs="1"/>
  </choice>
</xsd:complexType>
-- 
 Birgit                            mailto:[EMAIL PROTECTED]

Tuesday, April 10, 2001, 5:09:15 PM, you wrote:

> Hello all.  I'm hoping one of you schema gurus can help me with a little
> problem I'm having.  I'm trying to specify in a schema that a group of
> elements can appear multiple times in any order.  I know I can't use the
> [<all>] element because it has a maximum carnality of one.  EX

> <xsd:complexType name="myComplexType">
>   <xsd:the_type_that_will_make_this_work>
>     <!-- I want the two elements below to appear in any order and multiple
times-->>
>     <xsd:element ref="some_ref" minOccurs="0" maxOccurs="unbounded"/>
>     <xsd:element ref="some_other_ref" minOccurs="0" maxOccurs="unbounded"/>
>   </xsd:the_type_that_will_make_this_work>
> </xsd:complexType>


> Any help is appreciated.


> Dane Foster
> Equity Technology Group, Inc
> http://www.equitytg.com.



> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to