# SchemaType complexType

Specifies a W3C schema whose elements and attributes are to be mapped to the cells in the spreadsheet.

## Type Information

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

## Elements and Attributes

### Child Elements

None.

### Attributes

Attribute | Type | Required | Description | Possible Values
--- | --- | --- | --- | ---
ID | xsd:string | required | Specifies a unique ID for a W3C schema. | See external namespace.
Namespace | xsd:string | required | Specifies the namespace to be used with a schema. | See external namespace.
SchemaRef | xsd:string | optional | Contains the ID for any XML Spreadsheet 2003 schema element that holds a W3C schema that this schema imports. | See external namespace.

## Definition

    <xsd:complexType name="SchemaType" >
      <xsd:sequence>
        <xsd:any processContents="skip" maxOccurs="unbounded" />
      </xsd:sequence>
      <xsd:attribute name="ID" type="xsd:string" use="required">
      </xsd:attribute>
      <xsd:attribute name="Namespace" type="xsd:string" use="required">
      </xsd:attribute>
      <xsd:attribute name="SchemaRef" type="xsd:string" use="optional">
      </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