<xsd:element name="version_string" type="oval-def:EntityStateStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The version is the raw string output of a 'show version' command.</xsd:documentation>
<xsd:appinfo>
<sch:pattern id="iosversteversion_string" xmlns:sch="http://purl.oclc.org/dsdl/schematron">
<sch:rule context="ios-def:version_state/ios-def:version_string">
<sch:assert test="not(@datatype) or @datatype='ios_version'">
<sch:value-of select="../@id" /> - datatype attribute for the version_string entity of a version_state should be 'ios_version'</sch:assert>
</sch:rule>
</sch:pattern>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
|