Page 10 of 29PREVNEXT

Open XML II: Editing Documents in the XML

The core.XML document part, which appears in the docProps folder

Contents of the main document folder in a PowerPoint presentation ZIP package.

The structure of the main document folder in a zip package corresponds to the way the document itself is structured.

As you have seen in Word document ZIP packages, document.xml contains the content in the body of the document, and there are separate document parts for separate Word document sections — such as headers and footers, footnotes, and comments.

So, to find content in an Excel or PowerPoint ZIP package, think about how content in an Excel or PowerPoint file is structured. Look, for example, at the main document folder in a sample PowerPoint presentation ZIP package.

  • Content that is placed on a slide master can be found in the document parts within the slideMasters folder.
  • Content placed on individual slide layouts resides in the document parts that appear in the slideLayouts folder.
  • Content placed directly on individual slides resides in the document parts that appear in the slides folder.
  • Unlike document.xml in a Word ZIP package, presentation.xml does not contain the text and objects that you add to a presentation. Rather, it contains page setup and master layout formatting information.

Keep in mind that if you don’t know where to find the information you need, you can open any XML document part in a viewer to see its contents without even extracting it from the ZIP package.

Page 10 of 29PREVNEXT