<glossentry>
The <glossentry>
element defines a single sense of a glossary
term. Glossary entries for different term senses can be reused independently of one
another.
<term>
elements and display the definition on hover
or click.Content models
See appendix for information about this element in OASIS document type shells.
Inheritance
- topic/topic concept/concept glossentry/glossentry
Example
<glossentry id="usbfd"> <glossterm>USB flash drive</glossterm> <glossdef>A small portable drive.</glossdef> <glossBody> <glossPartOfSpeech value="noun"/> <glossUsage>Do not provide in upper case (as in "USB Flash Drive") because that suggests a trademark.</glossUsage> <glossAlt> <glossAcronym>UFD</glossAcronym> <glossUsage>Explain the acronym on first occurrence.</glossUsage> </glossAlt> <glossAlt id="memoryStick"> <glossSynonym>memory stick</glossSynonym> <glossUsage>This is a colloquial term.</glossUsage> </glossAlt> <glossAlt> <glossAbbreviation>stick</glossAbbreviation> <glossStatus value="prohibited"/> <glossUsage>This is too colloquial.</glossUsage> <glossAlternateFor href="#usbfd/memoryStick"/> </glossAlt> <glossAlt> <glossAbbreviation>flash</glossAbbreviation> <glossStatus value="prohibited"/> <glossUsage>This short form is ambiguous.</glossUsage> </glossAlt> </glossBody> </glossentry>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of @id
, given
below), Architectural attribute group, and outputclass.
@id
(REQUIRED)- An anchor point. This ID is usually required as
part of the
@href
or@conref
syntax when cross referencing or reusing content within the topic; it also enables<topicref>
elements in DITA maps to optionally reference a specific topic within a DITA document. This attribute is defined with the XML Data Type ID.