Interpretation of a choice element

Hi,

How should the following be interpreted:

  <xsd:complexType name="A">
    <xsd:choice>
      <xsd:element ref="B" minOccurs="0" maxOccurs="1" />
      <xsd:element ref="C" minOccurs="0" maxOccurs="unbounded" />
      <xsd:element ref="D" minOccurs="0" maxOccurs="unbounded" />
    </xsd:choice>
  </xsd:complexType>

Would it be the same as saying

<!ELEMENT A (B? | C* | D*)>

in a DTD?

What I don't want is to be limited to exactly one choice of B, C, or D. 
I'm confusing myself on semantics.

Thanks for your help!

Cheers,
Autumn

-- 
Autumn A. Cuellar
Bioengineering Institute
The University of Auckland
New Zealand

Received on Friday, 19 April 2002 04:39:31 UTC