Why Switch to DocBook V5.0?
The simple answer is “because DocBook V5.0 is the future.” Apart from this marketing blurb, there are also more technical reasons:
- DocBook 4.x is feature-frozen
DocBook V4.5 is the last version of DocBook in the 4.x series. Any new DocBook development, like the addition of new elements, will be done in DocBook V5.0. It is only a matter of time before new elements are added into DocBook V5.0, but they are not likely to be back-ported into DocBook 4.x. DocBook 4.x will be in maintenance mode and errata will be published if necessary.
- DocBook V5.0 offers new functionality
DocBook V5.0 provides significant improvements over DocBook 4.x. For example, there is general markup for annotations, a new and more flexible system for linking, and unified markup for information sections using the
infoelement.- DocBook V5.0 is more extensible
Having DocBook V5.0 in a separate namespace allows you to easily mix DocBook markup with other XML-based languages such as SVG, MathML, XHTML, or even FooBarML.
- DocBook V5.0 is easier to customize
RELAX NG offers many powerful constructs that make customization much easier than it would be using a DTD (see Chapter 5).
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access