XML technologies / DocBook / Customizing DocBook / Naming customizations / DocBook 5 customization names
(Excerpt from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" by Thomas Schraitle)
DocBook 4 needs a DOCTYPE declaration to distinguish DocBook versions. A DocBook 5 document instead uses the attribute version; a DOCTYPE declaration is unnecessary. DocBook 5 always requires this attribute on a root element:
<book xmlns="http://docbook.org/ns/docbook" version="5.0">When customizing the DocBook schema, change the attribute version in your document to distinguish it from the official, unmodified version. For this, DocBook V5.0 The Transition Guide recommends the following convention:
Example: Version naming convention for a customization file
DBVERSION-[subset|extension|variant] [NAME[-VERSION]?]+Adapt the following placeholders to your requirements:
DBVERSION: The base version of DocBook chosen for your customization.NAME: Your customization’s name. It can be repeated to identify additional modules.VERSION: Optional version for the preceding name.
Some valid examples are:
Elements or attributes removed:
5.0-subset DocBookSimplified-1.0New elements added:
5.0-extension TMSBook-1.0As above, but also including MathML and SVG:
5.0-extension TMSBook-1.0 MathML-2.0 SVG-1.1Elements removed and new ones added, including SVG
5.0-variant TMSBook-1.0 SVG-1.1
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