What Is Word XML Doducment Files


What is in a Word XML Document (*.xml) file?

✍: FYIcenter.com


After you saved a Word document into a Word XML Document (*.xml) file, you can actually open it in an XML browser to see how the entire word documents is represented in the XML file.

1. Open "Word_Tutorials.docx" and save it to "Word_Tutorials.xml" in Word XML Document format.

2. Open "Word_Tutorials.xml" in Firefox. If you collapse all first level elements, you will see that a Word XML Documents contains a list of "part" elements. Each "part" element is actually representing a file in the original .docx file.

For example, the main content of the original Word document is represented by this "part" element:

<pkg:part pkg:name="/word/document.xml"

Another example, the first picture in the original Word document is represented by this "part" element:

<pkg:part pkg:name="/word/media/image1.png"
   pkg:contentType="image/png" pkg:compression="store">

Top level relations between the main file and other files are represented by this "part" element:

<pkg:part pkg:name="/_rels/.rels"
   .relationships+xml" pkg:padding="512">


Understanding Microsoft Word File Types

Convert Word Documents to XML Files

Converting Microsoft Word to/from Other Format

⇑⇑ MS Word - Frequently Asked Questions

2016-11-02, 1166👍, 0💬