<xs:element name="ImageView" maxoccurs="unbounded" minoccurs="1" type="ImageView_Type" xmlns:xs="#unknown">
<xs:annotation>
<xs:appinfo>
<sch:pattern name="Co-occurrence constraint on attribute Title" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<xs:attribute name="Attribute1" use="required" form="unqualified">
<xs:simpletype>
<xs:restriction base="xs:string">
<xs:enumeration value="XYZ" />
<xs:enumeration value="WXYZ" />
</xs:restriction>
</xs:simpletype>
</xs:attribute>
<xs:attribute name="Attribute2" use="required" form="unqualified">
<xs:simpletype>
<xs:restriction base="xs:string">
<xs:enumeration value="ABC" />
<xs:enumeration value="DEF" />
<xs:enumeration value="GHI" />
</xs:restriction>
</xs:simpletype>
</xs:attribute>
<sch:rule context="*[@Attribute1]">
<sch:assert test="(@Attribute1 = 'XYZ' and @Attribute2 = 'ABC')">If the Attribute1 is "XYZ" then the Attribute2 must be "ABC".</sch:assert>
</sch:rule>
</sch:pattern>
</xs:appinfo>
</xs:annotation>
</xs:element>