2.4.2.6 binding
The following controls MUST contain the binding attribute in their XSLT representation:
Check box (section 2.4.1.6)
Combo box (section 2.4.1.21.2)
Contact selector (section 2.4.1.7)
Date picker (section 2.4.1.8)
Drop-down list (section 2.4.1.9)
Embedded picture (section 2.4.1.21.5)
External item picker (section 2.4.1.21.4)
File attachment (section 2.4.1.11)
Hyperlink input (section 2.3.2.6)
List (section 2.4.1.21.7)
List box (section 2.3.1.9)
Linked picture (section 2.3.2.8)
Multiple-selection list box
Option button (section 2.3.1.10)
Rich text box (section 2.3.1.13)
SharePoint file attachment (section 2.3.2.11)
Text box (section 2.3.1.16)
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"/>