Schema organization

  • almost everything in DocBook V5.0 schema is RELAX NG named pattern

  • patterns can be easily redefined or combined with additional patterns

Table 1. Structure of named patterns

Pattern nameDescription
db.elementPattern defining element
db.attribute.attributePattern defining attribute
db.element.attlistlist of attributes for element
db.attribute.enumerationlist of enumerated values for attribute

  • patterns are grouped to larger groups with the same purpose

    • db.general.inlines—all generally applicable inline elements

    • db.programming.inlines—inline elements for programming (functions, classes, parameters, …)