2.3.1.4 Date Picker Control

A date picker control that is not required to contain data, for example that is bound to an XML element, named "field1" with data type set to "date" for which no constraining facets, as specified in [XMLSCHEMA1], have been set has an XSD as follows:

 <xsd:element name="field1" nillable="true" type="xsd:date"/>

A date picker control that is required to contain data, for example that is bound to an XML element, named "field1" with data type set to "date" for which no constraining facets, as specified in [XMLSCHEMA1], have been set has the following XSD:

 <xsd:element name="field1" type="xsd:date"/>

A date picker control SHOULD be bound to a field with one of the following XSD data types for which any valid constraining facets, as specified in [XMLSCHEMA1], MAY also be set:

  • string

  • date

  • dateTime