DITA Resource Center

<glossAlternateFor>

The <glossAlternateFor> element indicates when a variant term has a relationship to another variant term in addition to the preferred term.
The <glossAlternateFor> element is available inside the <glossAlt> element, which is a container that provides a variant for the primary <glossentry> term. In some cases, the variant might also be an alternate for another term. In the example below, the abbreviation "stick" is a variant of the primary term (USB flash drive). The <glossAlternateFor> element indicates that "stick" is also a variant of the synonym "memory stick".

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

- topic/xref concept/xref glossentry/glossAlternateFor

Example

See the example in <glossentry>.

Attributes

The following attributes are available on this element: Universal attribute group, Link relationship attribute group (with a narrowed definition of @href, given below), @keyref, and @outputclass.

@href
References a term for which the current variant is an alternate (in addition to the primary term of this <glossentry> topic). The reference will often be to another <glossAlt> element within the same <glossentry> topic, indicating that the current variant is an alternate for both the primary term and the referenced alternate term. See The @href attribute for details on syntax.

Was this page helpful?