qandaset
qandaset — A question-and-answer set.
Synopsis
- Sequence of:
- One of: 
 - Zero or more of:
annotationbridgeheadremarkrevhistory- Indexing inlines 
![[-]](figs/web/nav/down.gif)
 - Admonition elements 
![[-]](figs/web/nav/down.gif)
 - Formal elements 
![[-]](figs/web/nav/down.gif)
 - Graphic elements 
![[-]](figs/web/nav/down.gif)
 - Informal elements 
![[-]](figs/web/nav/down.gif)
informalequationinformalexampleinformalfigureinformaltable(db.cals.informaltable)informaltable(db.html.informaltable)
 - List elements 
![[-]](figs/web/nav/down.gif)
 - Paragraph elements 
![[-]](figs/web/nav/down.gif)
 - Publishing elements 
![[-]](figs/web/nav/down.gif)
 - Synopsis elements 
![[-]](figs/web/nav/down.gif)
 - Technical elements 
![[-]](figs/web/nav/down.gif)
 - Verbatim elements 
![[-]](figs/web/nav/down.gif)
 
 - One of: 
- One or more of:
 - One or more of:
 
 
 - One of: 
 
Additional Constraints
- If this element is the root element, it must have a version attribute.
 
Description
A qandaset is a list consisting of
      questions and answers. A
      qandaset 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 a 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
- defaultlabel
 Specifies the default labelling
Enumerated values: “none” No labels
“number” Numeric labels
“qanda” "Q:" and "A:" labels
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?  | 
That is the question.  | 
<article xmlns='http://docbook.org/ns/docbook' class="faq"> <title>Frequently Asked Questions About Fonts</title> <qandaset> <qandadiv><title>General Information</title> <para>...</para> <qandadiv><title>Font Houses</title> <qandaentry><question><para>Who sells lots of fonts?</para></question> <answer><label>Seller</label><para>Adobe Systems, Inc.</para></answer> </qandaentry> <qandaentry><question><para>Who sells fonts and photos?</para></question> <answer><label>Seller</label><para>Veer</para></answer> </qandaentry> </qandadiv> </qandadiv> </qandaset> </article>
General Information
...
Font Houses
| .1. | Who sells lots of fonts?  | 
| . | Adobe Systems, Inc.  | 
| .2. | Who sells fonts and photos?  | 
| . | Veer  | 




![[+]](figs/web/nav/right.gif)