Microsoft Office XML formats

WordProcessingML
Filename extension.XML (XML document)
Developed byMicrosoft
Type of formatDocument file format
Extended fromXML, DOC
DataDiagramingML
Filename extension.VDX (XML Drawing),
.VSX (XML Stencil),
.VTX (XML Template)
Developed byMicrosoft
Type of formatDiagramming vector graphics
Extended fromXML, VSD, VSS, VST
SpreadsheetML
Filename extension.XML (XML Spreadsheet)
Developed byMicrosoft
Type of formatSpreadsheet
Extended fromXML, XLS

The Microsoft Office XML formats are XML-based document formats (or XML schemas) introduced in versions of Microsoft Office prior to Office 2007. Microsoft Office XP introduced a new XML format for storing Excel spreadsheets and Office 2003 added an XML-based format for Word documents.

These formats were succeeded by Office Open XML (ECMA-376) in Microsoft Office 2007.

File formats

  • Microsoft Office Word 2003 XML Format — WordProcessingML or WordML (.XML)
  • Microsoft Office Excel 2002 and Excel 2003 XML Format — SpreadsheetML (.XML)
  • Microsoft Office Visio 2003 XML Format — DataDiagramingML (.VDX, .VSX, .VTX)
  • Microsoft Office InfoPath 2003 XML Format — XML FormTemplate (.XSN) (Compressed XML templates in a Cabinet file)
  • Microsoft Office InfoPath 2003 XML Format — XMLS FormTemplate (.XSN) (Compressed XML templates in a Cabinet file)

Limitations and differences with Office Open XML

Besides differences in the schema, there are several other differences between the earlier Office XML schema formats and Office Open XML.

  • Whereas the data in Office Open XML documents is stored in multiple parts and compressed in a ZIP file conforming to the Open Packaging Conventions, Microsoft Office XML formats are stored as plain single monolithic XML files (making them quite large, compared to OOXML and the Microsoft Office legacy binary formats). Also, embedded items like pictures are stored as binary encoded blocks within the XML. In the case of Office Open XML, the header, footer, comments of a document etc. are all stored separately.
  • XML Spreadsheet documents cannot store Visual Basic for Applications macros, auditing tracer arrows, charts and other graphic objects, custom views, drawing object layers, outlining, scenarios, shared workbook information and user-defined function categories. In contrast, the newer Office Open XML formats support full document fidelity.
  • Poor backward compatibility with the version of Word/Excel prior to the one in which they were introduced. For example, Word 2002 cannot open Word 2003 XML files unless a third-party converter add-in is installed. Microsoft has released a Word 2003 XML Viewer which allows WordProcessingML files saved by Word 2003 to be viewed as HTML from within Internet Explorer. For Office Open XML, Microsoft provides converters for Office 2003, Office XP and Office 2000.
  • Office Open XML formats are also defined for PowerPoint 2007, equation editing (Office MathML), vector drawing, charts and text art (DrawingML).

Word XML format example

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<?mso-application progid="Word.Document"?>
<w:wordDocument
xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
xmlns:o="urn:schemas-microsoft-com:office:office"
w:macrosPresent="no"
w:embeddedObjPresent="no"
w:ocxPresent="no"
xml:space="preserve">
<o:DocumentProperties>
<o:Title>Thisisthetitle</o:Title>
<o:Author>DarlMcBride</o:Author>
<o:LastAuthor>BillGates</o:LastAuthor>
<o:Revision>1</o:Revision>
<o:TotalTime>0</o:TotalTime>
<o:Created>2007-03-15T23:05:00Z</o:Created>
<o:LastSaved>2007-03-15T23:05:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>6</o:Words>
<o:Characters>40</o:Characters>
<o:Company>SCOGroup,Inc.</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>45</o:CharactersWithSpaces>
<o:Version>11.6359</o:Version>
</o:DocumentProperties>
<w:fonts>
<w:defaultFonts
w:ascii="Times New Roman"
w:fareast="Times New Roman"
w:h-ansi="Times New Roman"
w:cs="Times New Roman"/>
</w:fonts>

<w:styles>
<w:versionOfBuiltInStylenamesw:val="4"/>
<w:latentStylesw:defLockedState="off"w:latentStyleCount="156"/>
<w:stylew:type="paragraph"w:default="on"w:styleId="Normal">
<w:namew:val="Normal"/>
<w:rPr>
<wx:fontwx:val="Times New Roman"/>
<w:szw:val="24"/>
<w:sz-csw:val="24"/>
<w:langw:val="EN-US"w:fareast="EN-US"w:bidi="AR-SA"/>
</w:rPr>
</w:style>
<w:stylew:type="paragraph"w:styleId="Heading1">
<w:namew:val="heading 1"/>
<wx:uiNamewx:val="Heading 1"/>
<w:basedOnw:val="Normal"/>
<w:nextw:val="Normal"/>
<w:rsidw:val="00D93B94"/>
<w:pPr>
<w:pStylew:val="Heading1"/>
<w:keepNext/>
<w:spacingw:before="240"w:after="60"/>
<w:outlineLvlw:val="0"/>
</w:pPr>
<w:rPr>
<w:rFontsw:ascii="Arial"w:h-ansi="Arial"w:cs="Arial"/>
<wx:fontwx:val="Arial"/>
<w:b/>
<w:b-cs/>
<w:kernw:val="32"/>
<w:szw:val="32"/>
<w:sz-csw:val="32"/>
</w:rPr>
</w:style>
<w:stylew:type="character"w:default="on"w:styleId="DefaultParagraphFont">
<w:namew:val="Default Paragraph Font"/>
<w:semiHidden/>
</w:style>
<w:stylew:type="table"w:default="on"w:styleId="TableNormal">
<w:namew:val="Normal Table"/>
<wx:uiNamewx:val="Table Normal"/>
<w:semiHidden/>
<w:rPr>
<wx:fontwx:val="Times New Roman"/>
</w:rPr>
<w:tblPr>
<w:tblIndw:w="0"w:type="dxa"/>
<w:tblCellMar>
<w:topw:w="0"w:type="dxa"/>
<w:leftw:w="108"w:type="dxa"/>
<w:bottomw:w="0"w:type="dxa"/>
<w:rightw:w="108"w:type="dxa"/>
</w:tblCellMar>
</w:tblPr>
</w:style>
<w:stylew:type="list"w:default="on"w:styleId="NoList">
<w:namew:val="No List"/>
<w:semiHidden/>
</w:style>
</w:styles>
<w:docPr>
<w:vieww:val="print"/>
<w:zoomw:percent="100"/>
<w:doNotEmbedSystemFonts/>
<w:proofStatew:spelling="clean"w:grammar="clean"/>
<w:attachedTemplatew:val=""/>
<w:defaultTabStopw:val="720"/>
<w:punctuationKerning/>
<w:characterSpacingControlw:val="DontCompress"/>
<w:optimizeForBrowser/>
<w:validateAgainstSchema/>
<w:saveInvalidXMLw:val="off"/>
<w:ignoreMixedContentw:val="off"/>
<w:alwaysShowPlaceholderTextw:val="off"/>
<w:compat>
<w:breakWrappedTables/>
<w:snapToGridInCell/>
<w:wrapTextWithPunct/>
<w:useAsianBreakRules/>
<w:dontGrowAutofit/>
</w:compat>
</w:docPr>
<w:body>
<wx:sect>
<w:p>
<w:r>
<w:t>Thisisthefirstparagraph</w:t>
</w:r>
</w:p>
<wx:sub-section>
<w:p>
<w:pPr>
<w:pStylew:val="Heading1"/>
</w:pPr>
<w:r>
<w:t>Thisisaheading</w:t>
</w:r>
</w:p>
<w:sectPr>
<w:pgSzw:w="12240"w:h="15840"/>
<w:pgMarw:top="1440"
w:right="1800"
w:bottom="1440"
w:left="1800"
w:header="720"
w:footer="720"
w:gutter="0"/>
<w:colsw:space="720"/>
<w:docGridw:line-pitch="360"/>
</w:sectPr>
</wx:sub-section>
</wx:sect>
</w:body>
</w:wordDocument>

Excel XML spreadsheet example

<?xml version="1.0" encoding="UTF-8"?>
<?mso-application progid="Excel.Sheet"?>
<Workbookxmlns="urn:schemas-microsoft-com:office:spreadsheet"xmlns:x="urn:schemas-microsoft-com:office:excel"xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"xmlns:html="https://www.w3.org/TR/html401/">
<Worksheetss:Name="CognaLearn+Intedashboard">
<Table>
<Columnss:Index="1"ss:AutoFitWidth="0"ss:Width="110"/>
<Row>
<Cell><Datass:Type="String">ID</Data></Cell>
<Cell><Datass:Type="String">Project</Data></Cell>
<Cell><Datass:Type="String">Reporter</Data></Cell>
<Cell><Datass:Type="String">AssignedTo</Data></Cell>
<Cell><Datass:Type="String">Priority</Data></Cell>
<Cell><Datass:Type="String">Severity</Data></Cell>
<Cell><Datass:Type="String">Reproducibility</Data></Cell>
<Cell><Datass:Type="String">ProductVersion</Data></Cell>
<Cell><Datass:Type="String">Category</Data></Cell>
<Cell><Datass:Type="String">DateSubmitted</Data></Cell>
<Cell><Datass:Type="String">OS</Data></Cell>
<Cell><Datass:Type="String">OSVersion</Data></Cell>
<Cell><Datass:Type="String">Platform</Data></Cell>
<Cell><Datass:Type="String">ViewStatus</Data></Cell>
<Cell><Datass:Type="String">Updated</Data></Cell>
<Cell><Datass:Type="String">Summary</Data></Cell>
<Cell><Datass:Type="String">Status</Data></Cell>
<Cell><Datass:Type="String">Resolution</Data></Cell>
<Cell><Datass:Type="String">FixedinVersion</Data></Cell>
</Row>
<Row>
<Cell><Datass:Type="Number">0000033</Data></Cell>
<Cell><Datass:Type="String">CognaLearnIntedashboard</Data></Cell>
<Cell><Datass:Type="String">janardhana.l</Data></Cell>
<Cell><Datass:Type="String"></Data></Cell>
<Cell><Datass:Type="String">normal</Data></Cell>
<Cell><Datass:Type="String">text</Data></Cell>
<Cell><Datass:Type="String">always</Data></Cell>
<Cell><Datass:Type="String"></Data></Cell>
<Cell><Datass:Type="String">GUI</Data></Cell>
<Cell><Datass:Type="String">2016-10-14</Data></Cell>
<Cell><Datass:Type="String"></Data></Cell>
<Cell><Datass:Type="String"></Data></Cell>
<Cell><Datass:Type="String"></Data></Cell>
<Cell><Datass:Type="String">public</Data></Cell>
<Cell><Datass:Type="String">2016-10-14</Data></Cell>
<Cell><Datass:Type="String">IE8browser_Modulesscreentooltiptextisshowntwice</Data></Cell>
<Cell><Datass:Type="String">new</Data></Cell>
<Cell><Datass:Type="String">open</Data></Cell>
<Cell><Datass:Type="String"></Data></Cell>
</Row>
</Table>
</Worksheet>
</Workbook>

See also


This page was last updated at 2024-01-26 08:47 UTC. Update now. View original page.

All our content comes from Wikipedia and under the Creative Commons Attribution-ShareAlike License.


Top

If mathematical, chemical, physical and other formulas are not displayed correctly on this page, please useFirefox or Safari