<xsd:element name="line" type="oval-def:EntityObjectStringType" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The line element represents a line in the file and is represented using a regular expression. A single subexpression can be called out using parentheses. The value of this subexpression can then be checked using a textfilecontent_state.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="txtobjline" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ind-def:textfilecontent_object/ind-def:line">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the line entity of a textfilecontent_object should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|