2.4.2.6 binding

The following controls MUST contain the binding attribute in their XSLT representation:

The expression box control (section 2.3.1.6) can contain this attribute in its XSLT representation.

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

The value of the binding attribute for the following controls MUST be set to a LEAF_XPATH, as specified in section 2.4.1.1:

  • Check box

  • Combo Box

  • Date picker

  • Drop-down list box

  • Expression box

  • Embedded picture

  • File attachment

  • List box

  • Option button

  • Rich text box

  • Text box

The value of this attribute for the following controls MUST be set to a LEAF_XPATH or as a STRING_XPATH_EXPRESSION, as specified in section 2.4.1.1:

  • Expression box

  • Hyperlink input

  • Linked Picture

The value of this attribute for list controls MUST be set as specified in the following table.

Value

Description

.

Specifies the RELATIVE_LEAF_XPATH that the control is bound to.

The value of this attribute for the multiple-selection list box control MUST be set to one of the values in the following table, as specified in section 2.4.1.1.

Value

Description

.

Specifies the RELATIVE_LEAF_XPATH that the control is bound to.

REPEATING_LEAF_XPATH[.=''][1]

Specifies the first instance of a REPEATING_LEAF_XPATH that has no value.

REPEATING_LEAF_XPATH[.="ANY_STRING"][1]

Specifies the first instance of a REPEATING_LEAF_XPATH that has a value equal to ANY_STRING.

The value of this attribute for the SharePoint file attachment control MUST be set to one of the values in the following table, as specified in section 2.4.1.1.

Value

Description

.

Specifies the RELATIVE_LEAF_XPATH that the control is bound to.

GROUP_XPATH

Specifies the GROUP_XPATH that the control is bound to.

For contact selector (section 2.4.1.7) and external item picker (section 2.4.1.21.4) controls, the value of the binding attribute MUST be set to a GROUP_XPATH, as specified in section 2.4.1.1.

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

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