XML technologies / DITA / Flexible extensibility / Extending information structures

(Excerpt from “DITA – Der neue Standard für Technische Dokumentation” by Johannes Hentrich)

Creating a DTD takes considerable effort. As “Using familiar technologies” explains, it is often so substantial that it rarely pays off for technical writing departments. Developing a specific, often complex DTD can be avoided by making one as generic as possible. As shown, however, this approach makes only limited use of the benefits of a markup language such as XML.

If instead of a generic DTD, a DTD tailored to the documents was actually created—and this really means only one DTD—it is often only a matter of time before a new challenge arises: the DTD is too restrictive and needs extending.

There can be many reasons:

A DTD must therefore keep pace with company developments, or more precisely with the development of the content to produce.

Without extensions, the existing element set must cover more document types. Existing markup consequently starts to become diluted. Using the same elements for old and new types makes their association with document structures less and less clear. If semantic markup is not supplemented with up-to-date elements, inappropriate elements are increasingly likely to be used. This ultimately leads back toward generic markup.

In practice, extending an existing DTD often takes even longer than creating it initially. Maintainability is an immense problem, especially with monolithic DTDs. Extending a DTD also requires extending the stylesheets so that new elements’ content is included in output production.

Once extensions have been achieved, another problem appears. The number of elements grows continuously until the DTD becomes confusing. This is particularly problematic when several technical writers work on different document types: each needs only a subset, which becomes proportionally smaller as more elements are defined.

As the DTD of DocBook has shown, a monolithic DTD defining all elements is unsuitable for flexible change. A fixed element set does, however, allow good control of XML processing, as DocBook’s stylesheets demonstrate. Extending information structures therefore requires:

As the next section, “Flexible extensibility with DITA”, shows, DITA meets all these requirements.

  

 

 

 

back to top