XML technologies / DocBook / Customizing DocBook / DocBook 5 structure
(Excerpt from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" by Thomas Schraitle)
DocBook 5 and later use RELAX NG as the official schema language. Both compact and XML syntax can be used; they are fully equivalent. DocBook 5 consists of the following parts:
- Definition patterns
These form the framework of DocBook 5 and define elements, attributes, enumerations and content models.
- Documentation
Each element and attribute pattern has brief documentation. Some XML editors read these strings and display them as help on request.
- Schematron rules
Schematron rules check additional constraints that are difficult to express with RELAX NG patterns. Some XML parser support Schematron and include a dedicated parser. DocBook 5 uses additional Schematron rules in only a few places. See also The schema jungle.
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