XML technologies / DocBook / The DocBook XSL stylesheets / Working with shared templates / Generating numbering, labels and titles
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
To generate format-independent titles, labels or numbering, the DocBook stylesheets call template rules in a particular mode. The following table summarizes them.
Table: Modes for titles, numbering and labels
Mode | File | Description |
| | selects the current node’s title or subtitle. If a |
| | returns the current numbering |
| | depending on the |
| | returns the current number and title or subtitle |
| | like |
| | applies profiling to elements; see Conditional elements (profiling). Usually needed only when the default method does not meet your requirements. |
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