[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

document (Document)

This element specifies the contents of a main document part in a WordprocessingML document.

[Example: Consider the basic structure of the main document part in a basic WordprocessingML document, as follows:

<w:document>

<w:body>

<w:p/>

</w:body>

</w:document>

All of the contents of the main document part are contained beneath the document element. end example]

Parent Elements

Root element of WordprocessingML Main Document part

 

Child Elements

Subclause

background (Document Background)

§2.2.1

body (Document Body)

§2.2.2

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Document">

   <complexContent>

   <extension base="CT_DocumentBase">

   <sequence>

   <element name="body" type="CT_Body" minOccurs="0" maxOccurs="1"/>

   </sequence>

   </extension>

   </complexContent>

</complexType>