Welcome to OpenXML Developer Sign in | Join | Help

Sample Open XML Documents

The attached ZIP archive, OpenXML-samples.zip, contains samples of various Open XML Format documents. These documents were created with Office 2007 Beta 1 Tech Refresh (B1TR). NOTE: final versions of these documents, created by the shipping version of Office 2007, were posted here in August 2007.

The ZIP archive includes these files:

  • sample.docx - Open XML word processing document
  • sample.doc - Word (binary format) version of sample.docx
  • docx.png - screen shot of Word 2007 rendering of sample.docx
  • sample.xlsx - Open XML spreadsheet document
  • sample.xls - Excel (binary format) version of sample.xlsx
  • xlsx.png - screen shot of Excel 2007 rendering of sample.xlsx
  • sample.pptx - Open XML presentation document
  • sample.ppt - Powerpoint (binary format) version of sample.pptx
  • pptx.png - screen shot of Powerpoint 2007 rendering of sample.pptx

The files are deliberately simple, to demonstrate the underlying structure of Open XML Formats without the distraction of any needless complexity. The text in the documents is from standard Latin placeholder.

The word processing document simply contains three paragraphs of text, with no formatting, headings, or headers/footers.

The spreadsheet document contains 10 rows and 2 columns. The first column is all text, and the second column is all numbers, with a simple formula to make cell B10 equal to the sum of cells B1-B9.

The presentation document contains a single slide, with a heading and sub-heading. No themes were applied to the slide.

Note the size difference between the Open XML Format versions and the Office binary-format versions. This is a good example of the ZIP compression that is built into the Open XML Formats.

To explore the DOCX/XLSX/PPTX files, you can use any ZIP software, such as the ZIP compression built into Windows, or tools such as WinZIP or PKZIP. Simply rename the files with a .ZIP extension, and you're ready to drill down into them and see the folders and XML components that make up an Open XML Format document.

Published Sunday, March 19, 2006 9:52 PM by dmahugh
Filed Under: , , ,
Attachment(s): samples.zip

Comments

 

ms-technology said:

This was what we have been looking at. Can we get more of the sample documents? We need as many Sample Documents as possible and we need a wide mix of them.

Thanks
March 22, 2006 3:16 AM
 

DuNuNuBatman said:

A sample with inking would be nice.
March 22, 2006 2:40 PM
 

seweso said:

Where are the images/tables/headings/objects/lists/page-numbers/etc? Please provide more realistic examples!
March 23, 2006 3:27 AM
 

dmahugh said:

Well, as it says in the post above, "The files are deliberately simple, to demonstrate the underlying structure of Open XML Formats without the distraction of any needless complexity."  We'll also be uploading some more complex samples, but most developers are new to these concepts in general and this post was just the first step in providing samples.  More complex samples will be posted here in the next day or two.

- Doug
March 23, 2006 11:16 AM
 

Sempf said:

Heck, these are perfect for me.  I need to get acclimated to these samples, and by the time I am, I'll have made more than enough complex samples of my own.  These are great for the proof of concept code I'm starting with.
March 23, 2006 11:40 PM
 

BruceLi said:

Good samples, but want more.

Thanks. ^^
April 8, 2006 5:10 AM
 

somannar said:

hi

i want to get the xml document which is created by wordML2007.

from the extracted xml files need to combine thr Java program  and make one xml file n one xsl file to render PDF.

could you please help regarding the same

thanks in advance.

Somanna R
December 12, 2006 3:02 AM
 

LaoMa said:

The Excel .XLSX file appears to be outdated. Perhaps you should remove this page now that Office 2007 has been publicly released.
February 4, 2007 3:40 AM
 

humbroll said:

i needed simple samples..
this is exactly to me.
thanks.
April 7, 2007 1:15 AM
 

Diogenes said:

I know it's been said already, but it would be nice to have a second set of documents with at least rich-text formatting.
June 11, 2007 3:11 PM
 

dmahugh said:

Diogenes, for more complex samples see this page:
http://openxmldeveloper.org/articles/DeveloperWorkshopContent.aspx

Note that all the presentations are provided in PPTX format, and all the manuals are in DOCX format, so those are good real-world samples, and there are other sample documents (many demonstrating a single concept) in the "Samples" downloads for each module.
August 15, 2007 2:21 AM
 

dikelmm said:

Newbie question:  When I open the docx files in Notepad, they look like binary files to me.  What kind of XML is this?  Why can't I read it in an ascii editor?
April 29, 2008 4:01 PM
Anonymous comments are disabled