<-- In the header -->
<xform>
<submit id="sub-b" target="..." />
<model id="poll">
<number name="choiceCode" enum="closed">
<value>-1</value>
<value>10</value>
- - -
</number>
</model>
<xform>
<-- in the body: -->
<xfm:exclusiveSelect ref="poll/choiceCode">
<xfm:caption>When?</xfm:caption>
<xfm:item value="-1">Don't know</xfm:item>
<xfm:item value="10">0-6 Months</xfm:item>
- - -
</xfm:exclusiveSelect>
<xfm:submit ref="poll" to="sub-b">
<xfm:caption>Submit</xfm:caption>
</xfm:submit>
|
<!-- Possible content -->
<!-- of submission -->
<choiceCode>10</choiceCode>
|