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