I have the following schema designed:
<xs:complexTy pe name="AzzFeatur e-BoxType" mixed="true">
<xs:choice minOccurs="1" maxOccurs="unbo unded">
<xs:element ref="Sub-Head" minOccurs="1" maxOccurs="unbo unded"/>
<xs:element ref="Title-Text" minOccurs="0" maxOccurs="unbo unded"/>
<xs:element ref="Text" minOccurs="0" maxOccurs="unbo unded"/>
<xs:element ref="Link-List" minOccurs="0" maxOccurs="unbo unded"/>
</xs:choice>
<xs:attribute name="axetype" type="xs:string " fixed="containe r"/>
</xs:complexType>
However it is NOT enforcing that one "Sub-Head" is added. Ex: below is
valid XML against the above schema
<Feature-Box axetype="contai ner">
<Title-Text axetype="field" >Title</Title-Text>
</Feature-Box>
Any ideas?