wordpress hit counter
Sample Open XML Documents - OpenXML Developer - Blog - OpenXML Developer

Sample Open XML Documents

Blog

Samples, Demos, and Reference Articles

Sample Open XML Documents

Rate This
  • Comments 9

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.

Attachment: samples.zip
  • Good samples, but want more.

    Thanks. ^^
  • 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
  • i needed simple samples..
    this is exactly to me.
    thanks.
  • 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.
  • 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.
  • 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?
  • @dikelmm: Because the files are zipped. Unzip the document first.
  • To all "newbie's" out there...
    1. Take an Office 2007+ document.
    2. Add a ".zip" extension to the end.
    3. Open with WinZip and see all the files!
  • 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

    ____________________________________________________________________________________________

    <a href="thegioioplung.com/.../">op lung galaxy s4<a/>

Page 1 of 1 (9 items)