XML technologies / DocBook / Customizing DocBook / Summary
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
The key points of this chapter were:
Unlike a DTD, RELAX NG does not use parameter entities, but definition patterns.
The DocBook RELAX NG schema contains patterns, documentation and optional Schematron rules.
Pattern names in DocBook 5 all begin with
db., followed by context-dependent parts.Customizations should follow a naming convention containing the keywords
subset,extensionorvariant.Overriding or extending existing patterns lets you add attributes and elements.
Overriding an element pattern with
notAllowedremoves an element.Overriding an attribute pattern with
emptyremoves an attribute.
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