<choice minOccurs="non negative number"
maxOccurs="non negative number or unbounded">
You can specify multiple child declarations within a <choice> declaration.
In an instance document, only one of the declarations may be used.
<choice>
<element name="first" type="string" minOccurs="1" maxOccurs="unbounded"/>
<element name="middle" type="string" minOccurs="0" maxOccurs="1"/>
<element name="last" type="string"/>
</choice>
<choice> declaration may contain <element> declarations, element wild-cards, and inner <sequence>, <choice>, or <group>references.
|