XML Basics for Reading Your Documents

XML is a language used to contain and describe data. In the case of Office Open XML, the data is your document content, and the description includes the settings required for that document to function in the applicable program as well as the settings you apply to the document.

Before you begin to explore a document’s XML, the subsections that follow provide a bit of background and basics to help you prepare for the task.

Reading a Markup Language

XML is a markup language. Just as you mark up a document while reviewing it—with comments, corrections, or margin notes—a markup language marks up data with descriptive information about that data.

If you’ve ever looked at the HTML source code of a Web page, you already ...

Get 2007 Microsoft® Office System Inside Out now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.