Skip to main content
Version: DocBook V4.5

answer

answer — An answer to a question posed in a QandASet

Synopsis

Content Model

answer ::=
(label?,
(calloutlist|glosslist|bibliolist|itemizedlist|orderedlist|
segmentedlist|simplelist|variablelist|caution|important|note|
tip|warning|literallayout|programlisting|programlistingco|
screen|screenco|screenshot|synopsis|cmdsynopsis|funcsynopsis|
classsynopsis|fieldsynopsis|constructorsynopsis|
destructorsynopsis|methodsynopsis|formalpara|para|simpara|
address|blockquote|graphic|graphicco|mediaobject|mediaobjectco|
informalequation|informalexample|informalfigure|informaltable|
equation|example|figure|table|procedure|anchor|bridgehead|
remark|highlights|indexterm)*,
qandaentry*)

Attributes

Common attributes

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

Answers are 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.

Parents

These elements contain answer: qandaentry.

Examples

For examples, see qandaset.