[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

DataBinding (XML Mapping)

This element contains properties which specify how the XML mapping should work.

[Example:

<DataBinding ConnectionID="1" FileBinding="true" DataBindingLoadMode="1"/>

end example]

Parent Elements

Map3.16.2)

 

Child Elements

Subclause

Any element from any namespace

n/a

 

Attributes

Description

ConnectionID (Reference to Connection ID)

Specifies the Connection ID to the external connection in the External Data Connections part.

 

Required if FileBinding is true. 

 

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

DataBindingLoadMode (XML Data Loading Behavior)

Specifies the mode for loading XML data related to this DataBinding.

 

Supported values are as follows:

0 - None

1 - Normal

2 - Delay Load

3 - Asynchronous

4 - Object Model

 

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

DataBindingName (Unique Identifer)

Specifies the data binding name. These must be unique for each DataBinding.

 

[Example:

<DataBinding DataBindingName="Binding1" FileBinding="true"
FileBindingName="Binding1" DataBindingLoadMode="1"/>

end example]

 

The possible values for this attribute are defined by the XML Schema string datatype.

FileBinding (Binding to External File)

Specifies whether the data should be retrieved directly from an XML file. The path to the file is in the corresponding connection element

 

The possible values for this attribute are defined by the XML Schema boolean datatype.

FileBindingName (File Binding Name)

Specifies the file binding name. These must be unique for each DataBinding.

 

[Example:

<DataBinding DataBindingName="Binding1" FileBinding="true"
FileBindingName="Binding1" DataBindingLoadMode="1"/>

end example]

 

The possible values for this attribute are defined by the XML Schema string datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_DataBinding">

   <sequence>

   <any/>

   </sequence>

   <attribute name="DataBindingName" type="xsd:string" use="optional"/>

   <attribute name="FileBinding" type="xsd:boolean" use="optional"/>

   <attribute name="ConnectionID" type="xsd:unsignedInt" use="optional"/>

   <attribute name="FileBindingName" type="xsd:string" use="optional"/>

   <attribute name="DataBindingLoadMode" type="xsd:unsignedInt" use="required"/>

</complexType>