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:
Existing document types are modified. This happens very often in practice, for example when particular information or structures can no longer be captured adequately with the existing DTD.
New document types are added. For example, a tutorial may need to be created in addition to training materials. This too is common in practice.
Semantic markup must be extended. When new products from new business fields need documenting, existing semantics often prove insufficient.
External documents must be processed. If information from external documents must be incorporated, the existing DTD often lacks suitable elements to capture it.
Documents must be exchanged with other companies. Yesterday’s competitor may be today’s joint-venture partner. Combining the document collections then becomes a major challenge.
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:
A content model flexible enough to support extensions and reductions.
A DTD modular enough that only the required parts can be selected. Naturally, a new DTD must still conform to the content model.
A processing mechanism that can handle elements from extended or reduced DTDs too.
As the next section, “Flexible extensibility with DITA”, shows, DITA meets all these requirements.
Copyright © 2008 XLcontent Verlag
You may print the online version for your private use.
Otherwise, this chapter from “DITA - Der neue Standard für Technische Dokumentation” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
XLcontent Verlag, Pflegerstraße 40, 81247 München
back to top