<documentType> (Document Classification)

This element specifies the classification of a given WordprocessingML document as a letter, email, or general document.


If this element is omitted, then the document shall be classified as a general document.

<w:documentType w:val="letter" /> 

The <documentType> element's @val attribute is equal to letter, specifying that the hosting application shall apply the behaviors it has specified for letters to the given WordprocessingML document. ]

Parent Elements




<val> (Document Classification Value)

Specifies the classification of the document based on the types defined in the referenced simple type definition.

<w:documentType w:val="eMail" /> 

The @val attribute is equal to eMail, specifying that the hosting application may apply e-mail behaviors (if any) to this document. ]

The possible values for this attribute are defined by the ST_DocType simple type (§2.18.23).

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

<complexType name="CT_DocType">
	<attribute name="val" type="ST_DocType" use="required"/>