DocBook: The Definitive Guide

docbook: the definitive guide
By Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM

DocBook: The Definitive Guide


Answer -- An answer to a question posed in a QandASet


Content Model

Answer ::= (Label?,  (CalloutList|GlossList|ItemizedList|OrderedList|SegmentedList|   SimpleList|VariableList|LiteralLayout|ProgramListing|   ProgramListingCO|Screen|ScreenCO|ScreenShot|Synopsis|   CmdSynopsis|FuncSynopsis|FormalPara|Para|SimPara|Address|   BlockQuote|Graphic|GraphicCO|MediaObject|MediaObjectCO|   InformalEquation|InformalExample|InformalFigure|InformalTable|   Equation|Example|Figure|Table|Procedure|Anchor|BridgeHead|   Comment|Highlights|IndexTerm)*,  QandAEntry*)


Common attributes

Tag Minimization

Both the start- and end-tags are required for this element.


Within a QandAEntry, a Question may have an Answer. An Answer is optional (some questions have no answers) and may be repeated (some questions have more than one answer).

Processing expectations

Answers are frequently introduced with a label, such as "A:". Several attributes control the generation of the label text.

If the DefaultLabel attribute on the nearest ancestor QandASet is not Label, then the Label element on Answer is ignored. Otherwise, the content of the Label element is used as the label for the Answer.


These elements contain Answer: QandAEntry.


The following elements occur in Answer: Address, Anchor, BlockQuote, BridgeHead, CalloutList, CmdSynopsis, Comment, Equation, Example, Figure, FormalPara, FuncSynopsis, GlossList, Graphic, GraphicCO, Highlights, IndexTerm, InformalEquation, InformalExample, InformalFigure, InformalTable, ItemizedList, Label, LiteralLayout, MediaObject, MediaObjectCO, OrderedList, Para, Procedure, ProgramListing, ProgramListingCO, QandAEntry, Screen, ScreenCO, ScreenShot, SegmentedList, SimPara, SimpleList, Synopsis, Table, VariableList.

In some contexts, the following elements are allowed anywhere: BeginPage, IndexTerm.

In some contexts, the following elements are excluded: Equation, Example, Figure, IndexTerm, InformalTable, Table.


For examples, see QandASet.


Back to: DocBook: The Definitive Guide

O'Reilly Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies

© 1999, O'Reilly & Associates, Inc.

DocBook. The Definitive Guide
DocBook 5: The Definitive Guide
ISBN: 0596805020
EAN: 2147483647
Year: 1999
Pages: 412
Authors: Walsh Norman, Richard L. Hamilton

Similar book on Amazon
DocBook XSL: The Complete Guide (4th Edition)
DocBook XSL: The Complete Guide (4th Edition)
XSLT, 2nd Edition
XSLT, 2nd Edition
XSLT Cookbook: Solutions and Examples for XML and XSLT Developers, 2nd Edition
XSLT Cookbook: Solutions and Examples for XML and XSLT Developers, 2nd Edition
XML: Visual QuickStart Guide (2nd Edition)
XML: Visual QuickStart Guide (2nd Edition) © 2008-2017.
If you may any questions please contact us: