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.

  

  

back to top