Microsoft Office XML formats
{{Short description|File format family introduced at Microsoft Office XP and Microsoft Office 2003}}
{{Distinguish|Office Open XML}}
{{Infobox file format
| name = WordProcessingML
| icon =
| logo =
| screenshot =
| caption =
| extension = .XML
(XML document)
|_noextcode = yes
| mime =
| type code =
| uniform type =
| magic =
| owner = Microsoft
| released =
| latest release version =
| latest release date =
| genre = Document file format
| container for =
| contained by =
| extended to =
| standard =
| url =
}}
{{Infobox file format
| name = DataDiagramingML
| icon =
| logo =
| screenshot =
| caption =
| extension = .VDX
(XML Drawing),.VSX
(XML Stencil),.VTX
(XML Template)
|_noextcode = yes
| mime =
| type code =
| uniform type =
| magic =
| owner = Microsoft
| released =
| latest release version =
| latest release date =
| genre = Diagramming vector graphics
| container for =
| contained by =
| extended from = XML, VSD, VSS, VST
| extended to =
| standard =
| url =
}}
{{Infobox file format
| name = SpreadsheetML
| icon =
| logo =
| screenshot =
| caption =
| extension = .XML
(XML Spreadsheet)
|_noextcode = yes
| mime =
| type code =
| uniform type =
| magic =
| owner = Microsoft
| released =
| latest release version =
| latest release date =
| genre = Spreadsheet
| container for =
| contained by =
| extended to =
| standard =
| url =
}}
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 ({{mono|.XML}})
- Microsoft Office Excel 2002 and Excel 2003 XML Format — SpreadsheetML ({{mono|.XML}})
- Microsoft Office Visio 2003 XML Format — DataDiagramingML ({{mono|.VDX}}, {{mono|.VSX}}, {{mono|.VTX}})
- Microsoft Office InfoPath 2003 XML Format — XML FormTemplate ({{mono|.XSN}}) (Compressed XML templates in a Cabinet file)
- Microsoft Office InfoPath 2003 XML Format — XMLS FormTemplate ({{mono|.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.{{Cite web |url=http://office.microsoft.com/en-us/excel/HP010733621033.aspx |title=Features and limitations of XML Spreadsheet format (broken) |access-date=2007-11-01 |archive-url=https://web.archive.org/web/20071009224347/http://office.microsoft.com/en-us/excel/HP010733621033.aspx |archive-date=2007-10-09 |url-status=dead }} 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.{{Cite web |url=http://www.polarsoftware.com/products/wml/index.asp |title=Polar WordML add-in (broken) |access-date=2007-11-01 |archive-url=https://web.archive.org/web/20090411211250/http://www.polarsoftware.com/products/wml/index.asp |archive-date=2009-04-11 |url-status=dead }} 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.[http://www.microsoft.com/downloads/details.aspx?FamilyID=19676b18-1bcd-4852-93ba-0b5a203ea731&displaylang=en Word 2003 XML Viewer] 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
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"> w:ascii="Times New Roman" w:fareast="Times New Roman" w:h-ansi="Times New Roman" w:cs="Times New Roman" /> w:right="1800" w:bottom="1440" w:left="1800" w:header="720" w:footer="720" w:gutter="0" />
Excel XML spreadsheet example
See also
References
{{Reflist}}
{{refbegin}}
- [http://msdn2.microsoft.com/en-us/library/aa159917(office.11).aspx Overview of Office 2003 Developer Technologies]
- Office 2003 XML. {{ISBN|0-596-00538-5}}
{{refend}}
External links
- [http://msdn2.microsoft.com/en-us/library/aa140066(office.10).aspx MSDN: XML Spreadsheet Reference (2014)]
- [https://docs.microsoft.com/en-us/previous-versions/office/developer/office-2003/aa174023(v=office.11) MSDN: Word 2003 XML Reference (2010)]
- {{cite web |url= http://www.h-online.com/open/news/item/XML-patent-US-Supreme-Court-upholds-decision-against-Microsoft-1258640.html |title= XML patent: US Supreme Court upholds decision against Microsoft |date= June 10, 2011 |website= H Online }}
{{Office document file formats}}
{{Authority control}}