DocBook 5.1: The Definitive Guide  (Version 1.5.3 for DocBook 5.1)

glosslist

glosslist — A wrapper for a list of glossary entries.

Synopsis

glosslist ::= [-]

Additional Constraints

  • If this element is the root element, it must have a version attribute.

Description

While glossarys are usually limited to component or section boundaries, appearing at the end of a book or chapter, for instance, glosslists can appear anywhere that the other list types are allowed.

Using a glosslist in running text, instead of a variablelist, for example, maintains the semantic distinction of a glossary. This distinction may be necessary if you want to automatically point to the members of the list with glossterms in the body of the text.

Processing expectations

Formatted as a displayed block.

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example glosslist</title>

<glosslist>
<glossentry><glossterm>C</glossterm>
<glossdef>
<para>A procedural programming language invented by K&amp;R.
</para>
</glossdef>
</glossentry>
<glossentry><glossterm>Pascal</glossterm>
<glossdef>
<para>A procedural programming language invented by Niklaus Wirth.
</para>
</glossdef>
</glossentry>
</glosslist>

</article>
C

A procedural programming language invented by K&R.

Pascal

A procedural programming language invented by Niklaus Wirth.