[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

name (Entry Name)

This element specifies a name for the contents of this glossary document entry. This name may contain any string content, and allows the entry to have a friendly identifier contained within the definition for this glossary document entry. [Note: This name may be surfaced in a user interface, for example. end note]

[Example: Consider the following WordprocessingML fragment for the properties of a single glossary document entry:

<w:docPartPr>

<w:name w:val="Sample Entry" />
<w:description w:val="This is an example of a glossary document entry for example purposes." />

<w:docPartPr>

The name element specifies that the friendly name associated with the parent entry shall be Sample Entry. This value may be used as needed by an application, for example, to display in a user interface. end example]

Parent Elements

docPartPr2.12.7)

 

Attributes

Description

decorated (Built-In Entry)

Specifies that the name for the current entry is a built-in entry which should not be displayed in the user interface. [Note: This information may be used by an application as needed, for example, to disambiguate an entry from one with the same name, ensuring that the built-in entry can be uniquely identified by the application. end note]

 

If this attribute is omitted, its value shall be assumed to be false.

 

[Example: Consider the following WordprocessingML fragment for the name of a single glossary document entry:

 

<w:name w:decorated="true" w:val=":-)" />

 

The decorated attribute specifies that the parent entry is a built-in entry, and shall be treated as such. end example]

 

The possible values for this attribute are defined by the ST_OnOff simple type2.18.67).

val (Name Value)

Specifies a string value which contains the name of the current glossary document entry.

 

[Example: Consider the following WordprocessingML fragment for the name of a single glossary document entry:

 

<w:name w:val="Sample Entry" />

 

The val attribute specifies that the name of the parent entry is Sample Entry. end example]

 

The possible values for this attribute are defined by the ST_String simple type2.18.89).

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

<complexType name="CT_DocPartName">

   <attribute name="val" type="ST_String" use="required"/>

   <attribute name="decorated" type="ST_OnOff" use="optional"/>

</complexType>