# MapType complexType

Contains information on the mappings between the elements and attributes of a schema and spreadsheet cells.

## Type Information

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

## Elements and Attributes

### Child Elements

Element | Description
--- | ---
ShowImportExportValidationErrors | Specifies whether a spreadsheet will be saved if the resulting XML document will not be valid based on the associated schema.
Append | "Specifies that data is appended to a map on refresh, rather than overwriting current data."
Entry | Specifies a mapping between cells and elements or attributes. There is one Entry element for each mapped cell.
Mapdata | Specifies whether UDC bound data is preserved.
x:DoNotPersist | See external namespace.
x:NoAutoFit | See external namespace.
x:NoPreserveFormatting | See external namespace.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
ID | xsd:string | optional | Specifies the unique identifier for a map. | See external namespace.
SchemaID | xsd:string | optional | Specifies the value of the ID attribute for the XML Spreadsheet 2003 schema element that is used by a map. | See external namespace.
RootElement | xsd:string | optional | Contains the unqualified name of the root element of the schema. | See external namespace.

## Definition

    <xsd:complexType name="MapType" >
      <xsd:sequence>
        <xsd:element name="ShowImportExportValidationErrors" minOccurs="0">
        </xsd:element>
        <xsd:element name="Append" minOccurs="0">
        </xsd:element>
        <xsd:element ref="x:DoNotPersist" minOccurs="0" />
        <xsd:element ref="x:NoAutoFit" minOccurs="0" />
        <xsd:element ref="x:NoPreserveFormatting" minOccurs="0" />
        <xsd:element name="Entry" type="EntryType" minOccurs="0" maxOccurs="unbounded">
        </xsd:element>
        <xsd:element name="Mapdata" minOccurs="0">
          <xsd:complexType>
            <xsd:sequence>
              <xsd:any processContents="skip" minOccurs="0" maxOccurs="unbounded" />
            </xsd:sequence>
          </xsd:complexType>
        </xsd:element>
      </xsd:sequence>
      <xsd:attribute name="ID" type="xsd:string">
      </xsd:attribute>
      <xsd:attribute name="SchemaID" type="xsd:string">
      </xsd:attribute>
      <xsd:attribute name="RootElement" type="xsd:string">
      </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