[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

TITLE

Syntax:

TITLE [ field-argument ] [ switch ]

Description: Retrieves, and optionally sets, the document's title, as recorded in the Title element of the Core File Properties part or, if field-argument is present, the name specified by text in field-argument. Specifying a field-argument shall change Title to text.

Field Value: The document's title.

Switches: One of the following general-formatting-switches: \* Caps, \* FirstCap, \* Lower, or \* Upper.

[Example: Consider the case in which the Title element is as follows:

   <Title>My Life's Story</Title>

and the following field is updated:

TITLE

The result is:

My Life's Story

Updating the following field:

TITLE "My Life, the Fantasy" \* Upper

causes the Title element to take on the value My Life, the Fantasy while the result is:

MY LIFE THE FANTASY

end example]