<xsd:element name="instance" type="oval-sc:EntityItemIntType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The instance entity calls out which match of the pattern is being represented by this item. The main purpose of this entity is too provide uniqueness for different textfilecontent_items that results from multiple matches of a given pattern against the same file.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="txtiteminstance" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ind-sc:textfilecontent_item/ind-sc:instance">
<sch:assert test="@datatype='int'">item <sch:value-of select="../@id" /> - datatype attribute for the instance entity of a textfilecontent_item should be 'int'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|