I am trying to find the correct way to create xsd files that include
constraints such as min and max values, etc. My current xsd file looks like
the example below (just an excerpt) but the <xs:restrictions... tag is
flagged as an error. I took that syntax from the sample in the Help files
(also shown below)
What is the correct way to do this
Wayne
========== My Current XSD Format =========
<xs:element name="eqpvoc" type="xs:decimal" minOccurs="1" maxOccurs="1"
msdata:Ordinal="0" />
<xs:restriction base="xs:nonNegativeInteger">
<xs:maxInclusive value="100"/>
</xs:restriction>
========== Samples from Help =============
<xs:simpleType name="freezeboilrangeInteger">
<xs:restriction base="xs:nonNegativeInteger">
<xs:maxInclusive value="100"/>
</xs:restriction>
</xs:simpleType>