Name

answer — An answer to a question posed in a qandaset

Synopsis

answer ::= (label?, (annotation | bridgehead | remark | revhistory | Indexing inlines | Admonition elements | Formal elements | Graphic elements | Informal elements | List elements | Paragraph elements | Publishing elements | Synopsis elements | Technical elements | Verbatim elements)+)

Description

Within a qandaentry, a question may have an answer. An answer is optional (some questions have no answers) and may be repeated (some questions have more than one answer).

Processing expectations

An answer is frequently introduced with a label, such as A:. If an answer has a label child element, the content of that label is used as the label for the answer. The defaultlabel attribute on the nearest ancestor qandaset of an answer can be used to indicate that a processing application should automatically generate a label for the answer.

See Also

qandadiv, qandaentry, qandaset, question

Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.