# BindingType complexType

Contains information necessary for connecting to an XML data source.

## Type Information

Namespace | http://schemas.microsoft.com/office/excel/2003/xml
Schema name | XML Spreadsheet 2003

## Elements and Attributes

### Child Elements

Element | Description
--- | ---
MapID | Contains the ID of the map that a binding will use when working with an XML data source.
udc:DataSource | See external namespace.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
ID | xsd:string | required | Specifies the unique identifier for a binding. | See external namespace.
LoadMode | Anonymous | optional | Specifies how the data is to be loaded. | normal om delay async
Async | Anonymous | optional | This element or attribute is not created or processed by Excel. It is designed to be used by external applications and components. | True true False false

## Definition

    <xsd:complexType name="BindingType" >
      <xsd:sequence>
        <xsd:element name="MapID" type="xsd:string" minOccurs="0">
        </xsd:element>
        <xsd:element ref="udc:DataSource" minOccurs="0" />
      </xsd:sequence>
      <xsd:attribute name="ID" type="xsd:string" use="required">
      </xsd:attribute>
      <xsd:attribute name="LoadMode" use="optional" default="normal">
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:enumeration value="normal" />
            <xsd:enumeration value="om" />
            <xsd:enumeration value="delay" />
            <xsd:enumeration value="async" />
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="Async" use="optional" default="True">
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:enumeration value="True" />
            <xsd:enumeration value="true" />
            <xsd:enumeration value="False" />
            <xsd:enumeration value="false" />
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
    </xsd:complexType>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp