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


Part -- A division in a book


Content Model

Part ::= ((DocInfo?,Title,Subtitle?,TitleAbbrev?),  PartIntro?,  (Appendix|Chapter|ToC|LoT|Index|Glossary|Bibliography|Article|   Preface|RefEntry|Reference)+)


Common attributes





Tag Minimization

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


Parts segment a book into divisions. Each division can contain a number of component-level elements, such as Chapters.

Processing expectations

Formatted as a displayed block. Parts almost always introduce a forced page break. Sometimes starts on the next recto page. Frequently, they also produce a part separator page, on which may be printed the content of the PartIntro.

(4.0) Future Changes

In DocBook V4.0, the ToC element in the content model will be replaced by TocChap.


These elements contain Part: Book.


The following elements occur in Part: Appendix, Article, Bibliography, Chapter, DocInfo, Glossary, Index, LoT, PartIntro, Preface, RefEntry, Reference, Subtitle, Title, TitleAbbrev, ToC.

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



Label specifies an identifying string for presentation purposes. The first Part in a Book might be labeled "Part I", for example.

Generally, an explicit Label attribute is used only if the processing system is incapable of generating the label automatically. If present, the Label is normative; it will used even if the processing system is capable of automatic labelling.


Status identifies the editorial or publication status of the Part.

Publication status might be used to control formatting (for example, printing a "draft" watermark on drafts) or processing (perhaps a document with a status of "final" should not include any components that are not final).

See Also

Appendix, Article, Book, Chapter, Colophon, Dedication, PartIntro, Preface, Set


The following example comes from Java in a Nutshell:

<!DOCTYPE part PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> <part label="II"> <title>Programming with the Java API</title> <partintro> <para> The sections in Part II present real-world examples of  programming with Java.  You can study and learn from the examples, and you can adapt them for use in your own programs. </para> <para> The example code in these chapters is available for downloading.   See <systemitem role=url></>. </para> <literallayout> <xref linkend="jnut-ch-04"> <xref linkend="jnut-ch-05"> <xref linkend="jnut-ch-06"> <xref linkend="jnut-ch-07"> <xref linkend="jnut-ch-08"> <xref linkend="jnut-ch-09"> </literallayout> </partintro> <chapter ><para>...content...</para></chapter> <chapter ><para>...content...</para></chapter> <chapter ><para>...content...</para></chapter> <chapter ><para>...content...</para></chapter> <chapter ><para>...content...</para></chapter> <chapter ><para>...content...</para></chapter> </part>


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: