17.2.3 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]

Attributes

conformance (Document Conformance Class)

Specifies the conformance class (2.1) to which the WordprocessingML document conforms.

If this attribute is omitted, its default value is transitional.

[Example: Consider the following WordprocessingML Main Document part markup:

<w:document w:conformance="strict">
</w:document>

This document has a conformance attribute value of strict, therefore it conforms to the WML Strict conformance class. end example]

The possible values for this attribute are defined by the ST_ConformanceClass simple type (22.9.2.2).

[Note: The W3C XML Schema definition of this element’s content model (CT_Document) is located in A.1. end note]

Last updated on