2.3.1.2 Check Box Control

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

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

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

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

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

  • string

  • integer

  • double

  • boolean

  • anyURI

  • date

  • time

  • dateTime