choice facet
Monday, March 29, 2010
2:08 PM
choice facet
xs:choice allows one to select between alternatives for complex content:
 <xs:element name="greeting">
   <xs:complexType mixed="true">
     <xs:choice>
       <xs:element name="hello"/>
       <xs:element name="hi"/>
       <xs:element name="dear"/>
     </xs:choice>
   </xs:complexType>
 </xs:element>
Pasted from <[link]> 
This matches
<greeting><hello/></greeting>
or
<greeting><hi/></greeting> 
or
<greeting><dear/></greeting>