I have a sequence
<xs:element name="XXXX">
<xs:complexType>
<xs:sequence>
<xs:element ref="YY" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ZZ" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
but I would like that at least one element of YY or ZZ to be present, in the above both are allowed to be missing.