I am having some trouble finding out how to tell the XSD that the data of a field has to have an minimum length of 12 digits and a maximum length of 14 digits. Is there someone who knows how to do this because minlength
and maxlength
can only be used for strings.
<xs:simpleType name="timestamp_vorige_inspectie">
<xs:restriction base="xs:integer">
<xs:minLength value="12"/>
</xs:restriction>
</xs:simpleType>