DocumentID: ECMA-376/Part3/2.2 Title: ECMA-376, Part3: 2.2 Basic Document Structure Extracted-From: ECMA-376 Office Open XML File Formats, 1st Edition / December 2006 Warning: Coverted to HTML format by a script known to have bugs
The main document story of the simplest WordprocessingML document consists of the following XML elements:
A run is a region of text in a story with a common set of properties. The text in a WordprocessingML document must be contained within one or more runs. A paragraph is a collection of one or more runs that is displayed as a unit. A run must be contained within a paragraph.
Consider the following Main Document XML for a simple WordprocessingML document:
<?xml version="1.0"?>
<w:document xmlns:w="...">
<w:body>
<w:p>
<w:r>
<w:t>Hello, world.</w:t>
</w:r>
</w:p>
</w:body>
</w:document>