question
Prev | DocBook Element Reference | Next

This is an alpha version of this book.

# question

## Name

question — A question in a `QandASet`

##

# Synopsis

### Content Model

    question ::=
    (label?,
     (calloutlist|glosslist|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)+)

### Attributes

Common attributes

## Description

A `Question` in a `QandAEntry` poses a question or states a problem that is addressed by the following `Answer`(s). `Answer`s are optional (some questions have no answers) and may be repeated (some questions have more than one answer).

### Processing expectations

`Question`s are frequently introduced with a label, such as ‘Q:’. Several attributes control the generation of the label text.

If the `DefaultLabel` attribute on the nearest ancestor `QandASet` is not ‘`label`,’ then the `Label` attribute on `Question` is ignored. Otherwise, the value of the `Label` attribute is used as the label for the `Question`.

### Parents

These elements contain question: `qandaentry`.

### Children

The following elements occur in question: `address`, `anchor`, `blockquote`, `bridgehead`, `calloutlist`, `caution`, `classsynopsis`, `cmdsynopsis`, `constructorsynopsis`, `destructorsynopsis`, `equation`, `example`, `fieldsynopsis`, `figure`, `formalpara`, `funcsynopsis`, `glosslist`, `graphic`, `graphicco`, `highlights`, `important`, `indexterm`, `informalequation`, `informalexample`, `informalfigure`, `informaltable`, `itemizedlist`, `label`, `literallayout`, `mediaobject`, `mediaobjectco`, `methodsynopsis`, `note`, `orderedlist`, `para`, `procedure`, `programlisting`, `programlistingco`, `remark`, `screen`, `screenco`, `screenshot`, `segmentedlist`, `simpara`, `simplelist`, `synopsis`, `table`, `tip`, `variablelist`, `warning`.

## Examples

For examples, see `qandaset` .

Prev | Home | Next
qandaset | Up | quote

Copyright © 1999, 2000, 2001 O'Reilly & Associates, Inc.