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