simonchristieis
Programmer
I am looking to overload a simple type that has an xs:int restriction, I want the next restriction to be xs:int or empty. I know I can use the same process for an xs:string.
<snipped>
</snipped>
I am looking for something like:
Thanks in advance
Simon
<snipped>
Code:
<xs:simpleType name="VerifyDateType">
<xs:restriction base="VerifyDateType"/>
</xs:simpleType>
<xs:simpleType name="VerifyDateType">
<xs:restriction base="xs:int"/>
</xs:simpleType>
I am looking for something like:
Code:
<xs:simpleType name="VerifyDateType">
<xs:restriction base="VerifyDateType">
<xs:minLength value="0"/>
</xs:restriction>
</xs:simpleType>
Thanks in advance
Simon