This commit is contained in:
SheetJS 2022-01-16 23:21:34 -05:00
parent b701402c1b
commit 3185785c08
25 changed files with 15395 additions and 0 deletions

View File

@ -6,6 +6,7 @@ Various spreadsheet file format notes.
- [Symbolic Link (SLK/SYLK)](/sylk/README.md)
- [XLSB Short Records](/xlsb_short_records/README.md)
- [Number Formats](/ssf/README.md)
- [SpreadsheetML2003](/xlml/README.md)
Project sponsored by [SheetJS](https://sheetjs.com)

63
xlml/README.md Normal file
View File

@ -0,0 +1,63 @@
# Office 2003 SpreadsheetML Format
Files are flat XML.
## XML Schemas
They are normally distributed in `Office2003XMLSchema.exe`. The linked schemas
were extracted from the package with MD5 sum `e967500ef68df1e8ef86b493304b5157`.
Each XSD is governed by a license which can be found near the top of the file.
- [`aml.xsd`](aml.xsd)
- [`c.xsd`](c.xsd)
- [`dt.xsd`](dt.xsd)
- [`excel.xsd`](excel.xsd)
- [`excel2003xml.xsd`](excel2003xml.xsd)
- [`excelss.xsd`](excelss.xsd)
- [`mspdi.xsd`](mspdi.xsd)
- [`office.xsd`](office.xsd)
- [`rowsetschema.xsd`](rowsetschema.xsd)
- [`rowsset.xsd`](rowsset.xsd)
- [`schema.xsd`](schema.xsd)
- [`sd.xsd`](sd.xsd)
- [`SimpleImport.xsd`](SimpleImport.xsd)
- [`udc.xsd`](udc.xsd)
- [`udcsoap.xsd`](udcsoap.xsd)
- [`udcxmlfile.xsd`](udcxmlfile.xsd)
- [`visio.xsd`](visio.xsd)
- [`vml.xsd`](vml.xsd)
- [`w10.xsd`](w10.xsd)
- [`wordnet.xsd`](wordnet.xsd)
- [`wordnetaux.xsd`](wordnetaux.xsd)
- [`wordsp.xsd`](wordsp.xsd)
- [`xsdlib.xsd`](xsdlib.xsd)
There is a slight conflict between the Word and Spreadsheet `office.xsd` that
specifically applies to the version number pattern:
```diff
--- SpreadsheetML Schemas/office.xsd
+++ WordprocessingML Schemas/office.xsd
@@ -20,7 +20,7 @@
<xsd:documentation>Defines a version number format.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
- <xsd:pattern value="[0-9]?[0-9].[0-9]{4}"></xsd:pattern>
+ <xsd:pattern value="([0-9]?[0-9].[0-9]{4})|([0-9]?[0-9])"></xsd:pattern>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="File" type="FileElt">
@@ -265,7 +265,7 @@
</xsd:element>
<xsd:complexType name="OfficeDocumentSettingsElt">
<xsd:sequence>
- <xsd:element name="DownloadComponents" form="qualified" minOccurs="0">
+ <xsd:element name="DownloadComponents" type="xsd:string" form="qualified" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Not used by Microsoft Office Word 2003 or Microsoft Office Excel 2003.</xsd:documentation>
</xsd:annotation>
```
[![Analytics](https://ga-beacon.appspot.com/UA-36810333-1/SheetJS/notes?pixel)](https://github.com/SheetJS/notes)

196
xlml/SimpleImport.xsd Normal file
View File

@ -0,0 +1,196 @@
<?xml version="1.0" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.microsoft.com/office/onenote/2004/import"
xmlns="http://schemas.microsoft.com/office/onenote/2004/import" elementFormDefault="qualified">
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the <20>Specification<6F>), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<!-- Root element: OneNote. -->
<xsd:element name="Import">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Top level element. Contains any number of verbs.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="EnsurePage" type="EnsurePageVerb" />
<xsd:element name="PlaceObjects" type="PlaceObjectsVerb" />
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- EnsurePage Action. -->
<xsd:complexType name="EnsurePageVerb">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Ensures the existence of a section or page.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="path" type="xsd:string" use="required" />
<xsd:attribute name="guid" type="GUID" use="required" />
<xsd:attribute name="title" type="xsd:string" />
<xsd:attribute name="date" type="xsd:dateTime" />
<xsd:attribute name="RTL" type="xsd:boolean" default="false" />
<xsd:attribute name="insertAfter" type="GUID" />
</xsd:complexType>
<!-- PlaceObjects Action -->
<xsd:complexType name="PlaceObjectsVerb">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Places top level page objecs on the page, or replaces them if they
already exist.
</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Object" maxOccurs="unbounded">
<xsd:complexType>
<xsd:choice>
<xsd:element name="Delete" />
<xsd:sequence>
<xsd:element name="Position">
<xsd:complexType>
<!-- X and Y coordinates are represented as points. -->
<xsd:attribute name="x" type="xsd:decimal" use="required" />
<xsd:attribute name="y" type="xsd:decimal" use="required" />
</xsd:complexType>
</xsd:element>
<xsd:choice>
<xsd:element name="Image">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="ImageContent">
<xsd:attribute name="backgroundImage" type="xsd:boolean" default="false" />
<!-- Width and Height are also expressed in points. -->
<xsd:attribute name="width" type="PositiveDecimal" />
<xsd:attribute name="height" type="PositiveDecimal" />
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Ink">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="InkContent">
<xsd:attribute name="width" type="PositiveDecimal" />
<xsd:attribute name="height" type="PositiveDecimal" />
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Outline">
<xsd:complexType>
<xsd:sequence>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="Image">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="ImageContent">
<xsd:attribute name="align">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="left" />
<xsd:enumeration value="center" />
<xsd:enumeration value="right" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Ink" type="InkContent" />
<xsd:element name="Html" type="HtmlContent" />
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="width" type="PositiveDecimal" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:sequence>
</xsd:choice>
<xsd:attribute name="guid" type="GUID" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="pagePath" type="xsd:string" use="required" />
<xsd:attribute name="pageGuid" type="GUID" use="required" />
</xsd:complexType>
<!-- Common types. -->
<xsd:simpleType name="GUID">
<xsd:annotation>
<xsd:documentation xml:lang="en">
The representation of a GUID, generally the id of an element.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:pattern value="\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="PositiveDecimal">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Positive number.
</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:decimal">
<xsd:minInclusive value="0.00" />
<xsd:maxInclusive value="1000000.00" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="HtmlContent">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Contains the html data to be imported.
If the html is included via a Data node, we expect it to be wrapped in
a CDATA marker.
</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:element name="File" type="FilePath" />
<xsd:element name="Data" type="xsd:string" />
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="InkContent">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Contains the ink to be imported. The data is either referenced in a
file or is included inlined, Base64 encoded.
</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:element name="File" type="FilePath" />
<xsd:element name="Data" type="xsd:base64Binary" />
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="ImageContent">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Contains the image to be imported. The data is either referenced in a
file or is included inlined, Base64 encoded.
</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:element name="File" type="FilePath" />
<xsd:element name="Data" type="xsd:base64Binary" />
</xsd:choice>
</xsd:complexType>
<xsd:complexType name="FilePath">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Represents the path to a file.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="path" use="required" />
</xsd:complexType>
</xsd:schema>

BIN
xlml/aml.xsd Normal file

Binary file not shown.

76
xlml/c.xsd Normal file
View File

@ -0,0 +1,76 @@
<?xml version="1.0"?>
<xsd:schema
targetNamespace="urn:schemas-microsoft-com:office:component:spreadsheet"
xmlns="urn:schemas-microsoft-com:office:component:spreadsheet"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
elementFormDefault="qualified" attributeFormDefault="qualified">
<xsd:import namespace="urn:schemas-microsoft-com:office:spreadsheet" schemaLocation="excelss.xsd"/>
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="Caption" type="ColumnCaptionType" />
<xsd:attribute name="caption" type="RowCaptionType" />
<xsd:simpleType name="ColumnCaptionType">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:simpleType name="RowCaptionType">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
<xsd:attribute name="PasteRefersTo" type="xsd:string" />
<xsd:attribute name="PasteFormula" type="xsd:string" />
<xsd:element name="OWCVersion" type="xsd:string"/>
<xsd:element name="worksheetoptions">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="displaycustomheaders" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ComponentOptions" type="ComponentOptionsType"/>
<xsd:complexType name="ComponentOptionsType">
<xsd:sequence>
<xsd:element name="Toolbar" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="HideOfficeLogo" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute ref="ss:Hidden" use="optional"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="SpreadsheetAutoFit" minOccurs="0"/>
<xsd:element name="Label" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Caption" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="MaxHeight" type="xsd:string" minOccurs="0"/>
<xsd:element name="MaxWidth" type="xsd:string" minOccurs="0"/>
<xsd:element name="NextSheetNumber" type="xsd:int" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>

67
xlml/dt.xsd Normal file
View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema targetNamespace="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="qualified">
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="maxLength" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Specifies the maximum length of a string for the datatype element.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type">
<xsd:annotation>
<xsd:documentation>Specifies the type of data represented by the datatype element.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="string" />
<xsd:enumeration value="number" />
<xsd:enumeration value="int" />
<xsd:enumeration value="float" />
<xsd:enumeration value="fixed.14.4" />
<xsd:enumeration value="boolean" />
<xsd:enumeration value="dateTime.iso8601" />
<xsd:enumeration value="dateTime.iso8601tz" />
<xsd:enumeration value="date.iso8601" />
<xsd:enumeration value="time.iso8601" />
<xsd:enumeration value="time.iso8601.tz" />
<xsd:enumeration value="i1" />
<xsd:enumeration value="i2" />
<xsd:enumeration value="i4" />
<xsd:enumeration value="i8" />
<xsd:enumeration value="ui1" />
<xsd:enumeration value="ui2" />
<xsd:enumeration value="ui4" />
<xsd:enumeration value="ui8" />
<xsd:enumeration value="r4" />
<xsd:enumeration value="r8" />
<xsd:enumeration value="float.IEEE.754.32" />
<xsd:enumeration value="float.IEEE.754.64" />
<xsd:enumeration value="uuid" />
<xsd:enumeration value="uri" />
<xsd:enumeration value="bin.hex" />
<xsd:enumeration value="char" />
<xsd:enumeration value="string.ansi" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="dt">
<xsd:annotation>
<xsd:documentation>Specifies the data type of custom properties for a document. Used for custom elements defined in the CustomDocumentProperty element of office.xsd.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="string" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:schema>

5115
xlml/excel.xsd Normal file

File diff suppressed because it is too large Load Diff

317
xlml/excel2003xml.xsd Normal file
View File

@ -0,0 +1,317 @@
<?xml version="1.0" ?>
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/excel/2003/xml" xmlns="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="qualified">
<xsd:import namespace="urn:schemas-microsoft-com:office:excel" schemaLocation="excel.xsd" />
<xsd:import namespace="urn:schemas-microsoft-com:office:spreadsheet" schemaLocation="excelss.xsd" />
<xsd:import namespace="http://schemas.microsoft.com/data/udc" schemaLocation="udc.xsd" />
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="MapInfo" type="MapInfoType">
<xsd:annotation>
<xsd:documentation>Specifies the mapping of XML document elements and attributes to spreadsheet cells.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Binding" type="BindingType">
<xsd:annotation>
<xsd:documentation>Contains information necessary for connecting to an XML data source.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="BindingType">
<xsd:annotation>
<xsd:documentation>Contains information necessary for connecting to an XML data source.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="MapID" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains the ID of the map that a binding will use when working with an XML data source.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="udc:DataSource" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies the unique identifier for a binding.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="LoadMode" use="optional" default="normal">
<xsd:annotation>
<xsd:documentation>Specifies how the data is to be loaded.</xsd:documentation>
</xsd:annotation>
<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:annotation>
<xsd:documentation>This element or attribute is not created or processed by Excel. It is designed to be used by external applications and components.</xsd:documentation>
</xsd:annotation>
<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>
<xsd:complexType name="MapInfoType">
<xsd:annotation>
<xsd:documentation>Specifies the mapping of XML document elements and attributes to spreadsheet cells.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Schema" type="SchemaType" minOccurs="1" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Contains information about the schema that is being mapped.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Map" type="MapType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Specifies the mapping between the elements and attributes in the schema and the cells in the spreadsheet.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="HideInactiveListBorder" use="optional" default="false">
<xsd:annotation>
<xsd:documentation>Specifies whether the borders of inactive lists are visible.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="true" />
<xsd:enumeration value="false" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="SelectionNamespaces" use="optional" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Contains a space-delimited list of the namespace and prefix associations for all maps and XPath values in a workbook.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="SchemaType">
<xsd:annotation>
<xsd:documentation>Specifies a W3C schema whose elements and attributes are to be mapped to the cells in the spreadsheet.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:any processContents="skip" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies a unique ID for a W3C schema.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="Namespace" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies the namespace to be used with a schema.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="SchemaRef" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Contains the ID for any XML Spreadsheet 2003 schema element that holds a W3C schema that this schema imports.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="MapType">
<xsd:annotation>
<xsd:documentation>Contains information on the mappings between the elements and attributes of a schema and spreadsheet cells.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="ShowImportExportValidationErrors" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies whether a spreadsheet will be saved if the resulting XML document will not be valid based on the associated schema.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Append" minOccurs="0">
<xsd:annotation>
<xsd:documentation>"Specifies that data is appended to a map on refresh, rather than overwriting current data."</xsd:documentation>
</xsd:annotation>
</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:annotation>
<xsd:documentation>Specifies a mapping between cells and elements or attributes. There is one Entry element for each mapped cell.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Mapdata" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies whether UDC bound data is preserved.</xsd:documentation>
</xsd:annotation>
<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:annotation>
<xsd:documentation>Specifies the unique identifier for a map.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="SchemaID" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the value of the ID attribute for the XML Spreadsheet 2003 schema element that is used by a map.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="RootElement" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Contains the unqualified name of the root element of the schema.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="EntryType">
<xsd:annotation>
<xsd:documentation>Defines the mappings between cells in the spreadsheet and the elements or attributes in the schema specified in the parent Map element.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Range" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains the address of the cell mapped by this entry.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="HeaderRange" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains an absolute reference (in R1C1 reference style) to the first cell in the row of headers for a table mapping.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="x:FilterOn" minOccurs="0" />
<xsd:element name="XPath" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains an XPath statement that points to the elements or attributes being mapped.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Field" type="FieldType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Specifies the cell or cells in the spreadsheet that are being mapped.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ActiveRows" type="ActiveRowsType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains XDT rows that are active.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="NoInserts" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This element or attribute is not created or processed by Excel. It is designed to be used by external applications and components.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ReadOnly" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This element or attribute is not created or processed by Excel. It is designed to be used by external applications and components.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="InstanceShape" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>This element or attribute is not created or processed by Excel. It is designed to be used by external applications and components.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies a unique identifier for the Entry element.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ShowTotals" type="truefalseType">
<xsd:annotation>
<xsd:documentation>Specifies whether the total row will be displayed when mapped to a list or table.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="Type" use="optional" default="table">
<xsd:annotation>
<xsd:documentation>Indicates whether the mapping will be to a single cell or to a table or list.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="single" />
<xsd:enumeration value="table" />
</xsd:restriction>
<!--data types-->
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="ActiveRowsType">
<xsd:annotation>
<xsd:documentation>Contains XDT rows that are active.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="ActiveRow" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>This element or attribute is not created or processed by Excel. It is designed to be used by external applications and components.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FieldType">
<xsd:annotation>
<xsd:documentation>Specifies which cells in the spreadsheet are to be mapped to the data pointed to by the XPath element.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Range" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains a relative address that specifies which column is to be used for each of the elements mapped from the XML document.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="XPath" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains a relative path from the parent element to the child element that is to be mapped to the column specified in the Range element.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="XSDType" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>"Contains the data type of the element or attribute being mapped, using the data types from the W3C Schema specification."</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="ss:Cell" minOccurs="0" />
<xsd:element ref="x:DataValidation" minOccurs="0" />
<xsd:element name="Aggregate" minOccurs="0" default="None">
<xsd:annotation>
<xsd:documentation>Indicates the kind of aggregation to be done in the totals row.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None" />
<xsd:enumeration value="Sum" />
<xsd:enumeration value="Count" />
<xsd:enumeration value="CountNums" />
<xsd:enumeration value="Var" />
<xsd:enumeration value="Average" />
<xsd:enumeration value="stdDev" />
<xsd:enumeration value="Max" />
<xsd:enumeration value="Min" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element ref="x:AutoFilterColumn" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the column heading value.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="truefalseType">
<xsd:annotation>
<xsd:documentation>Defines a data type with the values of true and false.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="true" />
<xsd:enumeration value="false" />
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>

789
xlml/excelss.xsd Normal file
View File

@ -0,0 +1,789 @@
<?xml version="1.0" ?>
<xsd:schema targetNamespace="urn:schemas-microsoft-com:office:spreadsheet" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:import namespace="urn:schemas-microsoft-com:office:office" schemaLocation="office.xsd" />
<xsd:import namespace="urn:schemas-microsoft-com:office:excel" schemaLocation="excel.xsd" />
<xsd:import namespace="http://schemas.microsoft.com/office/excel/2003/xml" schemaLocation="excel2003xml.xsd" />
<xsd:import namespace="urn:schemas-microsoft-com:office:component:spreadsheet" schemaLocation="c.xsd" />
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="Workbook">
<xsd:annotation>
<xsd:documentation>Defines a workbook that will contain one or more Worksheet elements.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="o:SmartTagType" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="o:DocumentProperties" minOccurs="0" />
<xsd:element ref="o:CustomDocumentProperties" minOccurs="0" />
<xsd:element ref="o:OfficeDocumentSettings" minOccurs="0" />
<xsd:element ref="x:ExcelWorkbook" minOccurs="0" />
<xsd:element name="Styles" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains the style definitions for the current worksheet. This element is required for custom formatting; otherwise, it is optional.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Style" type="StyleType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Defines a single style in the current workbook. This element is required for custom formatting; otherwise, it is optional.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Names" type="NamesType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Defines the collection of named ranges within a workbook.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Worksheet" type="WorksheetType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Defines a worksheet within the current workbook. At least one instance of this element is required for a valid XML spreadsheet.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="x:PivotCache" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="x:Name" minOccurs="0" />
<xsd:element ref="x2:MapInfo" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="x2:Binding" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="c:ComponentOptions" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="NamesType">
<xsd:annotation>
<xsd:documentation>Defines the collection of named ranges within a workbook or worksheet.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="NamedRange" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Defines a single named range within this workbook.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute form="qualified" name="Name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies the name of a named range.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="RefersTo" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the range to which the name applies.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute ref="Hidden" default="0" />
<xsd:attribute ref="c:PasteRefersTo" use="optional" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="AlignmentType">
<xsd:annotation>
<xsd:documentation>Defines a collection of font alignment attributes.</xsd:documentation>
</xsd:annotation>
<xsd:attribute form="qualified" name="Horizontal" use="optional" default="Automatic">
<xsd:annotation>
<xsd:documentation>Specifies the left-to-right alignment of text within a cell.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="CenterAcrossSelection" />
<xsd:enumeration value="Fill" />
<xsd:enumeration value="Left" />
<xsd:enumeration value="Right" />
<xsd:enumeration value="Justify" />
<xsd:enumeration value="Distributed" />
<xsd:enumeration value="Center" />
<xsd:enumeration value="Automatic" />
<xsd:enumeration value="JustifyDistributed" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="ReadingOrder" use="optional" default="Context">
<xsd:annotation>
<xsd:documentation>Specifies the default right-to-left text entry mode for a cell.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="RightToLeft" />
<xsd:enumeration value="LeftToRight" />
<xsd:enumeration value="Context" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="Indent" type="xsd:unsignedLong" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies the number of indents. This attribute is not supported by the Spreadsheet component.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Rotate" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies the rotation of text within a cell.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:double">
<xsd:minInclusive value="-90"/>
<xsd:maxInclusive value="90"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="ShrinkToFit" type="TrueFalseType" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies whether text size should be shrunk so that all of the text fits within a cell.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Vertical" use="optional" default="Automatic">
<xsd:annotation>
<xsd:documentation>Specifies the top-to-bottom alignment of text within a cell.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Automatic" />
<xsd:enumeration value="Top" />
<xsd:enumeration value="Bottom" />
<xsd:enumeration value="Center" />
<xsd:enumeration value="Justify" />
<xsd:enumeration value="Distributed" />
<xsd:enumeration value="JustifyDistributed" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="VerticalText" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether text characters are positioned to read vertically.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="WrapText" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether the text in a cell should wrap at the cell boundary.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="StyleType">
<xsd:annotation>
<xsd:documentation>Defines a single style in the current workbook. This element is required for custom formatting; otherwise, it is optional.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Alignment" type="AlignmentType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies the font alignment attributes to use for cells to which the defined style is applied.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Borders" type="BordersType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Defines the border properties to use for cells to which the defined style is applied.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Font" type="FontType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Defines the font characteristics to use for cells to which the defined style is applied.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Interior" type="InteriorType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Defines the fill properties to use for cells to which the defined style is applied.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="NumberFormat" type="NumberFormatType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Defines the number format to use for cells to which the defined style is applied.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Protection" type="ProtectionType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Defines the protection properties of cells to which the defined style is applied.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute form="qualified" name="ID" type="xsd:ID" use="required">
<xsd:annotation>
<xsd:documentation>Defines a name that identifies a particular style. The special value of "Default" indicates that this style represents the default formatting in the workbook.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Name" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the name for a defined style. Duplicate names for different styles are not permitted.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Parent" type="xsd:IDREF" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies a parent style from which the defined style should inherit format settings.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="ProtectionType">
<xsd:annotation>
<xsd:documentation>Defines the protection properties that should be used for cells to which the defined style is applied.</xsd:documentation>
</xsd:annotation>
<xsd:attribute form="qualified" name="Protected" type="TrueFalseType" use="optional" default="1">
<xsd:annotation>
<xsd:documentation>Specifies whether a cell is protected. When the worksheet is unprotected, enabling protection on individual cells has no effect.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute ref="x:HideFormula" use="optional" default="1" />
</xsd:complexType>
<xsd:complexType name="BordersType">
<xsd:annotation>
<xsd:documentation>Defines a container for individual Border elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Border" type="BorderType" minOccurs="0" maxOccurs="6">
<xsd:annotation>
<xsd:documentation>Specifies the properties of a particular border within the Borders element.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="NumberFormatType">
<xsd:annotation>
<xsd:documentation>Specifies the number format that should be in cells. The default value is General. All other number formats require a custom format code.</xsd:documentation>
</xsd:annotation>
<xsd:attribute form="qualified" name="Format" use="optional" default="General">
<xsd:annotation>
<xsd:documentation>Specifies a number format code in the Excel number format syntax.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:union memberTypes="xsd:string">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="General" />
<xsd:enumeration value="General Number" />
<xsd:enumeration value="General Date" />
<xsd:enumeration value="Long Date" />
<xsd:enumeration value="Medium Date" />
<xsd:enumeration value="Short Date" />
<xsd:enumeration value="Long Time" />
<xsd:enumeration value="Medium Time" />
<xsd:enumeration value="Short Time" />
<xsd:enumeration value="Currency" />
<xsd:enumeration value="Euro Currency" />
<xsd:enumeration value="Fixed" />
<xsd:enumeration value="Standard" />
<xsd:enumeration value="Percent" />
<xsd:enumeration value="Scientific" />
<xsd:enumeration value="Yes/No" />
<xsd:enumeration value="True/False" />
<xsd:enumeration value="On/Off" />
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="InteriorType">
<xsd:annotation>
<xsd:documentation>Defines the fill properties to use in a style.</xsd:documentation>
</xsd:annotation>
<xsd:attribute form="qualified" name="Color" type="xsd:string" use="optional" default="Automatic">
<xsd:annotation>
<xsd:documentation>Specifies the fill color of a cell.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Pattern" type="PatternType" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the fill pattern of a cell.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="PatternColor" type="xsd:string" use="optional" default="Automatic">
<xsd:annotation>
<xsd:documentation>Specifies the secondary fill color of a cell when the Pattern attribute does not equal Solid.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="PatternType">
<xsd:annotation>
<xsd:documentation>Contains an enumeration of the values that may appear in the Pattern attribute of the Interior element.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None" />
<xsd:enumeration value="Solid" />
<xsd:enumeration value="Gray75" />
<xsd:enumeration value="Gray50" />
<xsd:enumeration value="Gray25" />
<xsd:enumeration value="Gray125" />
<xsd:enumeration value="Gray0625" />
<xsd:enumeration value="HorzStripe" />
<xsd:enumeration value="VertStripe" />
<xsd:enumeration value="ReverseDiagStripe" />
<xsd:enumeration value="DiagStripe" />
<xsd:enumeration value="DiagCross" />
<xsd:enumeration value="ThickDiagCross" />
<xsd:enumeration value="ThinHorzStripe" />
<xsd:enumeration value="ThinVertStripe" />
<xsd:enumeration value="ThinReverseDiagStripe" />
<xsd:enumeration value="ThinDiagStripe" />
<xsd:enumeration value="ThinHorzCross" />
<xsd:enumeration value="ThinDiagCross" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FontType">
<xsd:annotation>
<xsd:documentation>Defines the font attributes to use in a style.</xsd:documentation>
</xsd:annotation>
<xsd:attribute form="qualified" name="Bold" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether a font is bold.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Color" type="xsd:string" use="optional" default="Automatic">
<xsd:annotation>
<xsd:documentation>Specifies the color of a font.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="FontName" use="optional" default="Arial">
<xsd:annotation>
<xsd:documentation>Specifies the name of the font.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="Italic" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether a font is italic.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Outline" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether a font is rendered as an outline. This property is used only on the Macintosh.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Shadow" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether a font is shadowed. This property is used only on the Macintosh.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Size" type="PositiveDoubleType" use="optional" default="10">
<xsd:annotation>
<xsd:documentation>Specifies the size of a font in points.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="StrikeThrough" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether a font is displayed using the strikethrough style.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Underline" use="optional" default="None">
<xsd:annotation>
<xsd:documentation>Specifies whether a font is displayed underlined.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None" />
<xsd:enumeration value="Single" />
<xsd:enumeration value="Double" />
<xsd:enumeration value="SingleAccounting" />
<xsd:enumeration value="DoubleAccounting" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="VerticalAlign" use="optional" default="None">
<xsd:annotation>
<xsd:documentation>Specifies the vertical alignment of a font.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None" />
<xsd:enumeration value="Subscript" />
<xsd:enumeration value="Superscript" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute ref="x:CharSet" use="optional" />
<xsd:attribute ref="x:Family" use="optional" />
</xsd:complexType>
<xsd:complexType name="BorderType">
<xsd:annotation>
<xsd:documentation>Specifies the properties of a particular border within the Borders element.</xsd:documentation>
</xsd:annotation>
<xsd:attribute form="qualified" name="Position" type="PositionType" use="required">
<xsd:annotation>
<xsd:documentation>Specifies one of the six possible borders to use for cells.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Color" type="xsd:string" use="optional" default="Automatic">
<xsd:annotation>
<xsd:documentation>Specifies the color of a border.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="LineStyle" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the style of a border.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="None" />
<xsd:enumeration value="Continuous" />
<xsd:enumeration value="Dash" />
<xsd:enumeration value="Dot" />
<xsd:enumeration value="DashDot" />
<xsd:enumeration value="DashDotDot" />
<xsd:enumeration value="SlantDashDot" />
<xsd:enumeration value="Double" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute form="qualified" name="Weight" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies the weight (or thickness) in points of a border.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:double">
<xsd:maxInclusive value="3.5"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="PositionType">
<xsd:annotation>
<xsd:documentation>Contains an enumeration of the values that may appear in the Position attribute of the Border element.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Left" />
<xsd:enumeration value="Top" />
<xsd:enumeration value="Right" />
<xsd:enumeration value="Bottom" />
<xsd:enumeration value="DiagonalLeft" />
<xsd:enumeration value="DiagonalRight" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="TableType">
<xsd:annotation>
<xsd:documentation>Defines the table to contain the cells that constitute a worksheet.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Column" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Defines the formatting and properties for one or more adjacent columns.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute form="qualified" name="AutoFitWidth" type="TrueFalseType" use="optional" default="1">
<xsd:annotation>
<xsd:documentation>Specifies whether a column is automatically resized to fit numeric and date values. Columns are not resized to fit text data.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute ref="Hidden" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether a column is hidden.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Index" type="xsd:positiveInteger" use="optional" >
<xsd:annotation>
<xsd:documentation>Specifies the position of a column in a table.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Span" type="xsd:nonNegativeInteger" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies the number of adjacent columns with the same formatting as the defined column.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="StyleID" type="xsd:IDREF" use="optional">
<xsd:annotation>
<xsd:documentation>Contains a reference to an ID attribute previously defined in a Style element. Used to apply that defined style to a column.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Width" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the width of a column in points. This value must be greater than or equal to zero.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:double">
<xsd:minInclusive value="0" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute ref="c:Caption" use="optional" />
</xsd:complexType>
</xsd:element>
<xsd:element name="Row" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Defines the formatting and properties for one or more adjacent rows.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="Cell" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute form="qualified" name="AutoFitHeight" type="TrueFalseType" use="optional" default="1">
<xsd:annotation>
<xsd:documentation>Specifies whether the height of a row is automatically resized to fit the contents of cells.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Height" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the height of a row in points. This value must be greater than or equal to zero.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:double">
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute ref="Hidden" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether a row is hidden.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Index" type="xsd:positiveInteger" use="optional" >
<xsd:annotation>
<xsd:documentation>Specifies the position of a row within a table.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Span" type="xsd:nonNegativeInteger" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies the number of adjacent rows with the same formatting as the defined row.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="StyleID" type="xsd:IDREF" use="optional">
<xsd:annotation>
<xsd:documentation>Contains a reference to an ID attribute previously defined in a Style element. Used to apply that defined style to a row.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute ref="c:caption" use="optional" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute form="qualified" name="DefaultColumnWidth" type="PositiveDoubleType" use="optional" default="48">
<xsd:annotation>
<xsd:documentation>Specifies the default width in points of columns in a table.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="DefaultRowHeight" type="PositiveDoubleType" use="optional" default="12.75">
<xsd:annotation>
<xsd:documentation>Specifies the default height in points of rows in a table.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="ExpandedColumnCount" type="xsd:nonNegativeInteger" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the total number of columns in a table. If included in an XML document, this attribute must have a value that is equal to the actual number of columns in the table for the document to be valid.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="ExpandedRowCount" type="xsd:nonNegativeInteger" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the total number of rows in a table. If included in an XML document, this attribute must have a value that is equal to the actual number of rows in the table for the document to be valid.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="StyleID" type="xsd:IDREF" use="optional">
<xsd:annotation>
<xsd:documentation>Contains a reference to an ID attribute previously defined in a Style element. Used to apply that defined style to a table.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="LeftCell" type="xsd:positiveInteger" use="optional" default="1">
<xsd:annotation>
<xsd:documentation>Specifies the index of the column in a spreadsheet that defines the first column of a table. This value must be greater than zero.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="TopCell" type="xsd:integer" use="optional" default="1">
<xsd:annotation>
<xsd:documentation>Specifies the index of the row in a spreadsheet that defines the top row of a table. This value must be greater than zero.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="FullColumns" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies that the columns in this table should occupy the entire height (all rows) of the worksheet.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="FullRows" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies that the rows in this table should occupy the entire width (all columns) of the worksheet.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup ref="x:XTableElements" />
</xsd:complexType>
<xsd:element name="Cell">
<xsd:annotation>
<xsd:documentation>Defines the properties of a cell in a worksheet.</xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:group ref="CellType" />
</xsd:sequence>
<xsd:attribute form="qualified" name="ArrayRange" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the range of cells to which an array formula applies.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Formula" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies a formula for a cell.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="HRef" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies a URL to which to which a cell is linked.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Index" type="xsd:nonNegativeInteger" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the column index of a cell.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="MergeAcross" type="xsd:long" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies the number of adjacent cells to merge with the current cell. The cells to merge will be to the right of the current cell unless the worksheet is set to display left-to-right.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="MergeDown" type="xsd:long" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies the number of adjacent cells below the current cell that are to be merged with the current cell.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="StyleID" type="xsd:IDREF" use="optional">
<xsd:annotation>
<xsd:documentation>Contains a reference to an ID attribute previously defined in a Style element. Used to apply that defined style to a cell.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup ref="x:XHRefScreenTipGroup" />
<xsd:attribute ref="c:PasteFormula" use="optional" />
</xsd:complexType>
</xsd:element>
<xsd:group name="CellType">
<xsd:sequence>
<xsd:element ref="o:SmartTags" minOccurs="0" maxOccurs="unbounded" />
<xsd:element name="Data" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies the value of a cell. The value should be specified in the format appropriate for the Type attribute of the cell.</xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:any processContents="skip" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute form="qualified" name="Type" use="required">
<xsd:annotation>
<xsd:documentation>Specifies the type of data to be contained by the cell.</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Number" />
<xsd:enumeration value="DateTime" />
<xsd:enumeration value="Boolean" />
<xsd:enumeration value="String" />
<xsd:enumeration value="Error" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute ref="x:Ticked" />
</xsd:complexType>
</xsd:element>
<xsd:element name="Comment" type="CommentType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains a comment to be associated with a cell.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="x:phonetictext" minOccurs="0" />
<xsd:element name="NamedCell" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Presence of this tag indicates that this cell is a member of a user-defined named range. When saved from Excel, this tag is only present on cells that are non-empty or contain formatting. This tag can appear multiple times (one for each user-defined name that this cell lies in).</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute form="qualified" name="Name" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies a user-defined named range to which the cell belongs.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:group>
<xsd:complexType name="CommentType">
<xsd:annotation>
<xsd:documentation>Contains the comment to be associated with this cell</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Data" minOccurs="1">
<xsd:annotation>
<xsd:documentation>Specifies the contents of the comment that is associated with a cell.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any processContents="skip" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute form="qualified" name="Author" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the author of a comment.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="ShowAlways" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether a comment is always displayed or is displayed only when the user rests the curser on the cell.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="WorksheetType">
<xsd:annotation>
<xsd:documentation>Defines a worksheet within the current workbook. An document must contain at least one instance of this element to be a valid XML Spreadsheet document.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Names" type="NamesType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Defines a collection of named ranges within a workbook or worksheet.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Table" type="TableType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Defines the table to contain the cells of the current worksheet. Only one instance of a Table element is valid for a single worksheet.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element ref="x:WorksheetOptions" minOccurs="0" />
<xsd:element ref="x:Watches" minOccurs="0" />
<xsd:element ref="x:DataTable" minOccurs="0" />
<xsd:element ref="x:PageBreaks" minOccurs="0" />
<xsd:element ref="x:PivotTable" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="x:DataValidation" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="x:AutoFilter" minOccurs="0" />
<xsd:element ref="x:ConditionalFormatting" minOccurs="0" maxOccurs="unbounded" />
<xsd:element ref="x:Sorting" minOccurs="0" />
<xsd:element ref="c:worksheetoptions" minOccurs="0" />
<xsd:element ref="x:QueryTable" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute form="qualified" name="Name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies the name of a worksheet. This value must be unique within the list of worksheet names of a given workbook.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="Protected" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether a worksheet is protected. When protection is not enabled for a worksheet, protection settings for individual cells have no effect.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute form="qualified" name="RightToLeft" type="TrueFalseType" use="optional" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether the worksheet window displays information from left to right or from right to left. If this attribute is set to display from right to left, column A in a worksheet is the first column on the right.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="TrueFalseType">
<xsd:annotation>
<xsd:documentation>Defines a data type restricted to two values: true or false.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="0" />
<xsd:enumeration value="1" />
</xsd:restriction>
</xsd:simpleType>
<xsd:attribute name="Hidden" default="0">
<xsd:annotation>
<xsd:documentation>Specifies whether an element is visible. The Hidden attribute can be applied to the NamedRange, Column, and Row elements.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:simpleType name="PositiveDoubleType">
<xsd:annotation>
<xsd:documentation>Defines a data type restricted to positive values.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:double">
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>

3215
xlml/mspdi.xsd Normal file

File diff suppressed because it is too large Load Diff

BIN
xlml/office.xsd Normal file

Binary file not shown.

44
xlml/rowsetschema.xsd Normal file
View File

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema targetNamespace="#RowsetSchema" xmlns="#RowsetSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<xsd:annotation>
<xsd:documentation>
This schema provides a description of a generalized row element that is used as a model for validation purposes.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="row">
<xsd:complexType>
<xsd:attribute name="Col1" use="optional" />
<xsd:attribute name="Col2" use="optional" />
<xsd:attribute name="Col3" use="optional" />
<xsd:attribute name="Col4" use="optional" />
<xsd:attribute name="Col5" use="optional" />
<xsd:attribute name="Col6" use="optional" />
<xsd:attribute name="Col7" use="optional" />
<xsd:attribute name="Col8" use="optional" />
<xsd:attribute name="Col9" use="optional" />
<xsd:attribute name="Col10" use="optional" />
<xsd:attribute name="Col11" use="optional" />
<xsd:attribute name="Col12" use="optional" />
<xsd:attribute name="Col13" use="optional" />
<xsd:attribute name="Col14" use="optional" />
<xsd:attribute name="Col15" use="optional" />
<xsd:attribute name="Col16" use="optional" />
<xsd:attribute name="Col17" use="optional" />
<xsd:attribute name="Col18" use="optional" />
<xsd:attribute name="Col19" use="optional" />
<xsd:attribute name="Col20" use="optional" />
</xsd:complexType>
</xsd:element>
</xsd:schema>

31
xlml/rowsset.xsd Normal file
View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema targetNamespace="urn:schemas-microsoft-com:rowset" xmlns="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="qualified">
<xsd:import namespace="#RowsetSchema" schemaLocation="rowsetschema.xsd" />
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<xsd:attribute name="name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the name of a column in a row so data can be associate with a particular cell in a PivotTable view or report.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:element name="data">
<xsd:annotation>
<xsd:documentation>Contains the row elements that hold the data for the cache of a PivotTable view or report.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="z:row" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>

98
xlml/schema.xsd Normal file
View File

@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema targetNamespace="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" elementFormDefault="qualified" attributeFormDefault="qualified">
<xsd:import namespace="urn:schemas-microsoft-com:rowset" schemaLocation="rowsset.xsd" />
<xsd:import namespace="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" schemaLocation="dt.xsd" />
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="Schema">
<xsd:annotation>
<xsd:documentation>Defines the row elements inside the data element that follows the Schema element.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ElementType">
<xsd:annotation>
<xsd:documentation>Describes the row element.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="attribute" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Specifies the attributes of the row element.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="type" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Contains the name of the attribute in the data element that follows the Schema element.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="extends" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Specifies extensions to a schema.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="type" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Contains the name of a namespace and element that is an extension to the schema. This is always set to rs:rowbase.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies the name of the element of the data element that follows the schema. This is always set to row.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="content" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies what the row element is allowed to contain. Must be set to eltOnly.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="AttributeType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Specifies a column in the Schema namespace.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="datatype">
<xsd:annotation>
<xsd:documentation>Specifies information about the data type of a column. Set to one of the types defined in dt.xsd.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute ref="dt:type" use="optional" />
<xsd:attribute ref="dt:maxLength" use="optional" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Set to the name of a field in the PivotTable cache. The value of this attribute must be set to the value of one of the type attributes specified in the ElementType element.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute ref="rs:name" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies an identifier for the Schema element. This is always set to RowsetSchema.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:schema>

1628
xlml/sd.xsd Normal file

File diff suppressed because it is too large Load Diff

299
xlml/udc.xsd Normal file
View File

@ -0,0 +1,299 @@
<?xml version="1.0" ?>
<xsd:schema targetNamespace="http://schemas.microsoft.com/data/udc" xmlns="http://schemas.microsoft.com/data/udc" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:import namespace="http://schemas.microsoft.com/data/udc/xmlfile" schemaLocation="udcxmlfile.xsd" />
<xsd:import namespace="http://schemas.microsoft.com/data/udc/soap" schemaLocation="udcsoap.xsd" />
<xsd:import namespace="http://schemas.xmlsoap.org/soap/envelope/" schemaLocation="http://schemas.xmlsoap.org/soap/envelope/" />
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="DataSource">
<xsd:annotation>
<xsd:documentation>Provides a root node container for the UDC (Universal Data Connection) elements that describe a connection to a data source.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:all>
<xsd:element name="Type" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>Contains the attributes and elements that define the type of connection described by the UDC file.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="SubType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Further describes the type of connection to the data source. One example is the DSP sub-type for binding SOAP data.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:any processContents="skip" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="Type" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies which of the three types of data binding to use for the data connection: SOAP, XMLFile (for accessing XML files), or PartToPart (for communicating between Web Parts).</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="MinorVersion" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Defines the format version of the elements defined by this Type.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="MajorVersion" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Defines the format version of the elements defined by this Type.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="Type" use="required">
<xsd:annotation>
<xsd:documentation>Specifies which of the three types of data binding to use for the data connection: SOAP, XMLFile (for accessing XML files), or PartToPart (for communicating between Web Parts).</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="SOAP" />
<xsd:enumeration value="XMLFile" />
<xsd:enumeration value="PartToPart" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="MajorVersion" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Defines the format version of the elements defined by this Type.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="MinorVersion" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Defines the format version of the elements defined by this Type.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="Name" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains the name of the data source that is used in the data source catalog.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ConnectionInfo" type="ConnectionInfoType" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains information specific to a particular type of data connection.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Description" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains a description of the data source.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Keywords" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies a comma-separated list of keywords describing the data source.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TooltipInfo" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Specifies the string to be displayed in the ScreenTip for the data source in the data source catalog.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
<xsd:attribute name="MinorVersion" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Defines the format version of the common UDC elements.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="MajorVersion" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Defines the format version of the common UDC elements.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ConnectionInfoType">
<xsd:annotation>
<xsd:documentation>Contains information specific to a particular type of data connection.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:choice minOccurs="0">
<xsd:sequence minOccurs="0">
<xsd:element ref="udcs:Location" />
<xsd:element ref="udcs:Authentication" minOccurs="0" />
<xsd:element ref="udcs:SOAPAction" />
<xsd:element ref="soap-env:Header" />
<xsd:element ref="soap-env:Body" minOccurs="0" />
</xsd:sequence>
<xsd:element ref="udcxf:File" minOccurs="0" />
</xsd:choice>
<xsd:element name="ClientParameterBindings" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains parameters that provide a way for the client processing the UDC to perform text replacement anywhere within the ConnectionInfo section.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ClientParameterBinding" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="Name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="Location" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="Item" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="DefaultValue" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="CredentialBinding" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Contains information necessary to prompt the user for credentials and resolve any associated CredentialValue elements in the ConnectionInfo section.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Credential" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Contains the details of a particular set of credentials.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="Type" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Specifies the type for a particular set of credentials. This attribute and the Resource attribute are used to match a CredentialBinding element with a CredentialValue element.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="DefaultValue" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="Resource" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Specifies a string that represents the resource to be used with a particular set of credentials. This attribute and the Type attribute are used to match a CredentialBinding element with a CredentialValue element.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element ref="ClientParameterValue" minOccurs="0" />
<xsd:element name="Attribute" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ClientParameterBinding">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="Name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="Location" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="Item" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="DefaultValue" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="Encode" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="Name" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="If" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="ClientParameterValue" />
</xsd:sequence>
<xsd:attribute name="ClientParameter" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element ref="CredentialValue" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="Purpose" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Contains a string that is used to distinguish multiple ConnectionInfo elements.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:element name="ClientParameterValue">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
<xsd:complexType mixed="true">
<xsd:attribute name="Name" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="CredentialValue">
<xsd:annotation>
<xsd:documentation>Contains information necessary to prompt the user for credentials and resolve any associated CredentialValue elements in the ConnectionInfo section.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="Resource" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies a string that represents the resource to be used with a particular set of credentials. This attribute and the Type attribute are used to match a CredentialBinding element with a CredentialValue element.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="Type" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the type for a particular set of credentials. This attribute and the Resource attribute are used to match a CredentialBinding element with a CredentialValue element.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:schema>

107
xlml/udcsoap.xsd Normal file
View File

@ -0,0 +1,107 @@
<?xml version="1.0" ?>
<xsd:schema targetNamespace="http://schemas.microsoft.com/data/udc/soap" xmlns="http://schemas.microsoft.com/data/udc/soap" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="Location">
<xsd:annotation>
<xsd:documentation>Specifies the location of a SOAP service. If a client service calls a server component on the same machine as the client service, the value of the Location element is sufficient to identify the SOAP service.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="href" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Contains the URL of Web service. This URL is used by remote clients.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="Proxy" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Authentication">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Windows" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Basic" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="useExplicit" maxOccurs="1" minOccurs="1">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="userId" maxOccurs="1" minOccurs="1">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="Resource" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="Type" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="password" maxOccurs="1" minOccurs="1">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="Type" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="CredentialValue" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Does not apply to Excel data connections.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="SOAPAction" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Contains the SOAPAction URI.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>

20
xlml/udcxmlfile.xsd Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<xsd:schema targetNamespace="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/data/udc/xmlfile" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:annotation>
<xsd:documentation>
Permission to copy, display and distribute the contents of this document (the “Specification”), in any medium for any purpose without fee or royalty is hereby granted, provided that you include the following notice on ALL copies of the Specification, or portions thereof, that you make:
Copyright (c) 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?frame=true.
No right to create modifications or derivatives of this Specification is granted herein.
There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification. This patent license is available at this location: http://www.microsoft.com/mscorp/ip/format/xmlpatentlicense.asp.
THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.
No other rights are granted by implication, estoppel or otherwise.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="File" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Specifies the path to an XML file.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:schema>

3329
xlml/visio.xsd Normal file

File diff suppressed because it is too large Load Diff

BIN
xlml/vml.xsd Normal file

Binary file not shown.

BIN
xlml/w10.xsd Normal file

Binary file not shown.

BIN
xlml/wordnet.xsd Normal file

Binary file not shown.

BIN
xlml/wordnetaux.xsd Normal file

Binary file not shown.

BIN
xlml/wordsp.xsd Normal file

Binary file not shown.

BIN
xlml/xsdlib.xsd Normal file

Binary file not shown.