2.4.2.28 onValue

Check box controls (section 2.4.1.6) MUST contain the onValue attribute in their XSLT representation if the offValue attribute (section 2.4.2.27) is unspecified.

Check box controls can contain the onValue attribute in their XSLT representation if the offValue attribute is specified.

The following controls can contain this attribute in their XSLT representation:

All other controls MUST NOT contain this attribute in their XSLT representations.

The value of this attribute MUST be a value that is valid for the XML field's data type.

For the check box control, the value of this attribute MUST be a different string value than the string value specified for the offValue attribute.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="onValue" type="xsd:string"/>