<xs:element name="datasets">
<xs:complexType>
<xs:sequence>
<xs:element ref="dataset" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:unique name="dataset-idversion-unique">
<xs:selector xpath="dataset"/>
<xs:field xpath="@id"/>
<xs:field xpath="@effectiveDate"/>
</xs:unique>
<xs:unique name="concept-idversion-unique">
<xs:selector xpath=".//concept"/>
<xs:field xpath="@id"/>
<xs:field xpath="@effectiveDate"/>
</xs:unique>
<!-- Tempting, but does not fly for compilations -->
<!--<xs:unique name="conceptlist-id-unique">
<xs:selector xpath=".//conceptList"/>
<xs:field xpath="@id"/>
<xs:field xpath="@effectiveDate"/>
</xs:unique>-->
<!--<xs:unique name="conceptlistconcept-id-unique">
<xs:selector xpath=".//conceptList/concept"/>
<xs:field xpath="@id"/>
</xs:unique>-->
</xs:element>
|