qandaset — A question-and-answer set.


qandaset ::= [-]


Common attributes and common linking attributes.

Additional attributes:

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

Additional Constraints

  • If this element is the root element, it must have a version attribute.


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.


Common attributes and common linking attributes.


Specifies the default labelling

Enumerated values:

No labels


Numeric labels


"Q:" and "A:" labels


<article xmlns=''>
<title>Example qandaset</title>

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


To be, or not to be?

That is the question.

<article xmlns=''
<title>Frequently Asked Questions About Fonts</title>

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


  <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><question><para>Who sells fonts and photos?</para></question>


General Information


Font Houses


Who sells lots of fonts?


Adobe Systems, Inc.


Who sells fonts and photos?



Last revised by Norman Walsh on (git hash: 32232d73aaed8bf7134470f3f72f9e1dc6874d38 68abf83671c42c0ef5e0aed2f171edf1c3b1bdcd)