Search the Catalog
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

Caution

Name

Caution -- A note of caution

Synopsis

Content Model

Caution ::=
(Title?,
 (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|Sidebar|Anchor|
  BridgeHead|Comment|IndexTerm)+)

Attributes

Common attributes

Tag Minimization

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

Parameter Entities

%admon.class;%admon.exclusion;%bookcomponent.content;
%component.mix;%divcomponent.mix;%highlights.mix;
%legalnotice.mix;%para.mix;%refcomponent.mix;
%sidebar.mix;%tabentry.mix;%tbl.entry.mdl;
%textobject.mix;

Description

A Caution is an admonition, usually set off from the main text.

In some types of documentation, the semantics of admonitions are clearly defined (Caution might imply the possibility of harm to equipment whereas Warning might imply harm to a person) However, DocBook makes no such assertions.

Processing expectations

Formatted as a displayed block. Often outputs the generated text "Caution" or some other visible indication of the type of admonition, especially if a Title is not present. Sometimes outputs a graphical icon or other symbol as well.

See Also

Important, Note, Tip, Warning

Examples

<!DOCTYPE caution PUBLIC "-//OASIS//DTD DocBook V3.1//EN">
<caution><title>No User Servicable Parts Inside</title>
<para>
Breaking this seal voids all warranties.
</para>
</caution>

CautionNo User Servicable Parts Inside
 

Breaking this seal voids all warranties.

Back to: DocBook: The Definitive Guide


oreilly.com Home | O'Reilly Bookstores | How to Order | O'Reilly Contacts
International | About O'Reilly | Affiliated Companies | Privacy Policy

© 2001, O'Reilly & Associates, Inc.