DATE attribute

Number questions with a DATE attribute ask for a date to be entered. The interactive clients can represent this with a date picker. The resulting date should be written in the XScheme xsd:date YYYY-MM-DD format.

QUESTION "Date question"

DATE

DFT 20060307

ANSWER number_variable

<xsd:schema targetNamespace="http://example.info/types">
</xsd:schema>
<xforms:instance>
<response xmlns="">
<question0>2006-03-07</question0>
</response>
</xforms:instance>
<xforms:bind nodeset="question0" id="question0" type="xsd:date" />
<itp:question>
<xforms:input ref="question0">
<xforms:label>Date question</xforms:label>
</xforms:input>
</itp:question>