XML technologies / DocBook / Structural elements / Metadata / DocBook 5 metadata
(Excerpt from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" by Thomas Schraitle)
In DocBook 5, the various *info elements were consolidated into one info element. There is therefore no longer a distinction between appendixinfo and chapterinfo. RELAX NG also eliminates the problem of duplicate titles. Chapter metadata in DocBook 5 looks like this:
Example: Chapter metadata in DocBook 5
<chapter xmlns="http://docbook.org/ns/docbook">
<info>
<author>
<firstname>Tux</firstname>
<surname>Penguin</surname>
</author>
<date>24.04.2007</date>
<!-- Weitere Elemente möglich ... -->
</info>
<!-- Eigentlicher Inhalt -->
</chapter>RELAX NG prevents duplicate titles. You can enter a title inside info using title or after the info element, but not both. This improves consistency while authoring documents.
DocBook 5 also allows info to contain extended XLinks in the element extendedlink. They are suppressed by default and are rarely needed. Extended XLinks collect multidirectional links or links to links. A link is specified in the element locator; relationships between links use the element arc.
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