| DocBook: The Definitive Guide 2.0.17 (Alpha)

# qandaentry

$Revision: 1666 $

$Date: 2002-06-12 07:19:37 -0400 (Wed, 12 Jun 2002) $

qandaentry — A question/answer set within a `QandASet`

## Synopsis

### Content Model

    qandaentry ::=
    (blockinfo?,revhistory?,question,answer*)

### Attributes

Common attributes

## Description

A `QandAEntry` is an entry in a `QandASet`. Each `QandAEntry` defines a `Question` and (possibly) its `Answer` or `Answer`s.

Since V4.2, the preferred way to associate a revision history with a `QandAEntry` is in the `BlockInfo`. The use of `RevHistory` directly in `QandAEntry` is deprecated.

### Processing expectations

Formatted as a displayed block. `Question`s are usually presented before the `Answer`s, and often the `Answer`s are indented to make the questions stand out.

### Parents

These elements contain qandaentry: `answer`, `qandadiv`, `qandaset`.

### Children

The following elements occur in qandaentry: `answer`, `blockinfo`, `question`, `revhistory`.

## Examples

For examples, see `qandaset`.

qandadiv |  | qandaset

Copyright © 1999, 2000, 2001, 2002, 2003 O'Reilly & Associates, Inc. All rights reserved.