$Date$
$Revision$
elements
qandaset
qandaset
Element
qandaset
&qandaset.purpose;
&qandaset.synopsis.gen;
Description
A QandASet is a list consisting of
Questions and Answers.
QandASets can be divided into sections.
Every entry in a QandASet must contain a
Question, but Answers are
optional (some questions have no answers), and may be repeated (some
questions have more than one answer).
Common uses for QandASets include reader
questionnaires and lists of Frequently Asked Questions
(FAQs). For the purpose of an
FAQ, DocBook V3.1 added the
FAQ class to Article.
Processing expectations
&format.block; The DefaultLabel
attribute has a significant influence on the presentation of
Questions and Answers.
&qandaset.parents.gen;
&qandaset.children.gen;
Attributes
defaultlabel
DefaultLabel identifies the
default label that should be used for Questions and
Answers:
qanda
Questions are labeled Q:
and
Answers are labeled A:
. Other
similar labels may be substituted, for example, the words might be
spelled out, Question:
and Answer:
, and
the actual characters or words used are dependent on the language.
number
The entries are enumerated.
none
No distinguishing label precedes Questions or
Answers.
If no value is specified, the implied presentation may be any one of these,
as defined by the stylesheet. Note that each question and answer can explicitly
define a label, regardless of the default label specified.
Examples
&qandaset.example.1.txt;
&qandaset.example.1.gen;
&qandaset.example.2.txt;
&qandaset.example.seealso.gen;