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:

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.

  

  

 

 

 

back to top