DocBook: The Definitive GuideBy Norman Walsh & Leonard Muellner
1st Edition October 1999
1-56592-580-7, Order Number: 5807
652 pages, $36.95 , Includes CD-ROM
Content ModelRevHistory ::= (Revision+)
Both the start- and end-tags are required for this element.
%bibliocomponent.mix; %docinfo.char.class; %ndxterm.char.mix; %para.char.mix; %programlisting.content; %refinline.char.mix; %screen.content; %tbl.entry.mdl; %title.char.mix;
RevHistory is a structure for documenting a history of changes, specifically, a history of changes to the document or section in which it occurs.
Formatted as a displayed block. A tabular or list presentation is most common.
Due to a parameterization oversight in the DTD, RevHistory is allowed in some outlandish places. Still, it is not an inline, so it should not be used inside LineAnnotations, Links, or Quotes. (Not to mention the truly outlandish places like Title and SeeAlso!)
In a future version of DocBook, RevHistory will be removed from these inline contexts.
The original intent for RevHistory was simply to document the history of changes to the document that contains it. In keeping with this meaning, you are advised to limit its use to places where bibliographic meta-information is allowed (the "info" elements).
One can argue that RevHistory has broader applicability for documenting changes to other systems as well, and in light of this, it may become available in more contexts, but that has not yet been decided.
These elements contain RevHistory: Application, ArtHeader, Attribution, BiblioEntry, BiblioMisc, BiblioMixed, BiblioMSet, BiblioSet, BookBiblio, BookInfo, BridgeHead, Citation, CiteTitle, Comment, DocInfo, Emphasis, entry, ForeignPhrase, GlossEntry, GlossSee, GlossSeeAlso, GlossTerm, LineAnnotation, Link, LiteralLayout, LoTentry, Member, MsgAud, ObjectInfo, OLink, Para, Phrase, Primary, PrimaryIE, ProductName, ProgramListing, Quote, RefEntryTitle, RefPurpose, RefSect1Info, RefSect2Info, RefSect3Info, RefSynopsisDivInfo, Screen, ScreenInfo, Secondary, SecondaryIE, Sect1Info, Sect2Info, Sect3Info, Sect4Info, Sect5Info, SectionInfo, See, SeeAlso, SeeAlsoIE, SeeIE, Seg, SegTitle, SeriesInfo, SetInfo, SimPara, Subtitle, Synopsis, Term, Tertiary, TertiaryIE, Title, TitleAbbrev, ToCback, ToCentry, ToCfront, ULink.
Examples<!DOCTYPE revhistory PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> <revhistory> <revision> <revnumber>0.91</revnumber> <date>11 Dec 1996</date> <authorinitials>ndw</authorinitials> <revremark>Bug fixes</revremark> </revision> <revision> <revnumber>0.90</revnumber> <date>30 Nov 1996</date> <authorinitials>ndw</authorinitials> <revremark>First beta release</revremark> </revision> </revhistory>
For additional examples, see also Article.
Back to: DocBook: The Definitive Guide
© 2001, O'Reilly & Associates, Inc.