XML technologies / DocBook / Structural elements / Book series
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
The element set is the top level of the DocBook hierarchy. Apart from metadata and language and anchor attributes, there is no difference between DocBook 4 and 5. The element set can contain two or more books and is used when the books are related, forming a series.
The element set is formatted as a block. A set can add extra front and back matter, such as indexes and tables of contents.
The following example shows a DocBook book series.
Example: Structure of a book series with set
<set ANKER="foo">
<title>Python</title>
<setinfo>
<!-- ... -->
</setinfo>
<toc/>
<lot/>
<book>
<title>Python -- Grundlagen</title>
<!-- ... -->
</book>
<book>
<title>Python -- Programmierung</title>
<!-- ... -->
</book>
<book>
<title>Python -- Fortgeschrittene Programmierung</title>
<!-- ... -->
</book>
</set>Replace the placeholder ANKER with id in DocBook 4 and xml:id in DocBook 5.
To structure books and series differently, DocBook also allows recursive nesting of set.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top