<xsd:element name="text" type="oval-sc:EntityItemStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The text entity represents the block of text that matched the specified pattern.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="txtitemtext" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ind-sc:textfilecontent_item/ind-sc:text">
<sch:assert test="not(@datatype) or @datatype='string'">item <sch:value-of select="../@id" /> - datatype attribute for the text entity of a textfilecontent_item should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|