qandaset

qandaset — A question-and-answer set

Synopsis

Attributes

Common attributes and common linking attributes.

Additional attributes:

  • defaultlabel (enumeration)
    • “none”
    • “number”
    • “qanda”

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

Formatted as a displayed block. The DefaultLabel attribute has a significant influence on the presentation of Questions and Answers.

Attributes

Common attributes and common linking attributes.

defaultlabel

FIXME:

Enumerated values:

none

FIXME:

number

FIXME:

qanda

FIXME:

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example qandaset</title>

<qandaset defaultlabel='qanda'>
<qandaentry>
<question>
<para>To be, or not to be?
</para>
</question>
<answer>
<para>That is the question.
</para>
</answer>
</qandaentry>
</qandaset>

</article>
Q:

To be, or not to be?

A:

That is the question.

<article xmlns='http://docbook.org/ns/docbook'
	 class="faq">
<title>Frequently Asked Questions About Fonts</title>

<para>...</para>

<qandaset>
<qandadiv><title>General Information</title>

<para>...</para>

<qandadiv><title>Font Houses</title>

<qandaentry><question><para>Adobe Systems, Inc.</para></question>
<answer><para>...</para></answer>
</qandaentry>

<qandaentry><question><para>Agfa, Inc.</para></question>
<answer><para>...</para></answer>
</qandaentry>

</qandadiv>
</qandadiv>
</qandaset>
</article>

...

ChangeLog

This alpha reference page is $Revision: 1.4 $ published $Date: 2005/10/30 21:59:13 $.