XML technologies / DITA / Specialization
(Excerpt from “DITA – Der neue Standard für Technische Dokumentation” by Johannes Hentrich)
Specialization extends DITA’s information structures and semantics. DTDs, module files and entity files can be adapted quickly once the content model for the elements to be specialized has been developed. Adapting XSLT stylesheets is somewhat more laborious, however, since they lack the clear structure of DTDs and module files.
This chapter introduces the technical specialization procedure: how to create or modify DTDs, module files, entity files and XSLT stylesheets for a specialization.
The following DITA components can be specialized:
Associated XSLT stylesheets can also be extended to process the newly created elements.
The time needed for the actual technical procedure is practically negligible compared with the design phase. Creating or editing the corresponding files, such as DTDs or module files, is generally quick because every specialization draws on existing material. Specialization does not develop information structures from scratch; it modifies existing ones.
The design phase, developing new information structures and semantic markup, requires substantially more effort. You must consider what the new structures should look like and which existing structures can be used for specialization.
The design phase should produce a model document implementing the new information structure. This model document serves two purposes:
The model document immediately shows whether the information structure meets practical needs. It is usually easier to see in an XML document whether data is marked as intended than in a rather abstract DTD. Technical writers work much more frequently with XML documents than with the underlying DTDs.
During technical implementation, the model document can always be used as a test document. It immediately reveals errors made when creating the DTD, module files or entity files. After the XSLT stylesheets have been adapted, it can also test whether they recognize the new markup.
Once the model document is ready, the specialization can be implemented technically. “Topics” shows how to specialize topics. Maps can be specialized similarly, although this is not discussed in detail here. It also demonstrates how to modify XSLT stylesheets producing XHTML files to process the new specialized elements.
“Domains” shows how to perform domain specialization. This is again followed by a demonstration of how to modify XSLT stylesheets for XHTML output.
The final section explains how to return specialized information structures to their original structures. This process is called generalization.
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