17.12.13 name
This element specifies a name for the contents of this glossary document entry. This name can 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 can 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 must be Sample Entry. This value can be used as needed by an application, for example, to display in a user interface. end example]
Attributes
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 example]
The possible values for this attribute are defined by the ST_String simple type (22.9.2.13).
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 can 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 must be treated as such. end example]
The possible values for this attribute are defined by the ST_OnOff simple type (22.9.2.7).
[Note: The W3C XML Schema definition of this element’s content model (CT_DocPartName) is located in A.1. end note]