PeterOcean
Programmer
I have to define a date in a schema that has the format YYYYMMDD. the element in question can also accept an empty value as well. I have tried the following but that doesn't work, does anyone have any ideas.
Thanks
<xs:simpleType name="date">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:length value="8"/>
</xs:restriction>
</xs:simpleType>
Thanks
<xs:simpleType name="date">
<xs:restriction base="xs:string">
<xs:minLength value="0"/>
<xs:length value="8"/>
</xs:restriction>
</xs:simpleType>