O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required