<xsd:element name="value_of" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The value element checks the value of the nodes found.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="xmlstevalue_of" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ind-def:xmlfilecontent_state/ind-def:value_of">
<sch:assert test="not(@datatype) or @datatype='string'">
<sch:value-of select="../@id" /> - datatype attribute for the value_of entity of a xmlfilecontent_state should be 'string'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|