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.

  

back to top