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

label

label — A label on a question or answer.

Synopsis

label ::= [-]

Description

The label of a question or answer identifies the label that is to be used when formatting the question or answer.

Processing expectations

The label element is used as the label for the question or answer. A processing application might, for example, format the label as a heading preceding the question or answer contents, or it might format it as a run-in heading in the first paragraph of the question or answer.

Parents

These elements contain label: answer, question.

Children

The following elements occur in label: text, abbrev, acronym, alt, anchor, annotation, biblioref, coref, date, emphasis (db._emphasis), firstterm (db._firstterm), footnote, footnoteref, foreignphrase (db._foreignphrase), glossterm (db._glossterm), indexterm (db.indexterm.endofrange), indexterm (db.indexterm.singular), indexterm (db.indexterm.startofrange), inlinemediaobject, link, olink, phrase (db._phrase), quote (db._quote), remark, replaceable, subscript, superscript, trademark, wordasword, xref.

Examples

See qandaset for an example that uses this element.