XML technologies / DITA / Using familiar technologies / XML

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

The complex syntax and cumbersome handling of SGML were certainly major reasons for developing XML (eXtensible Markup Language). The much shorter XML specification compared with SGML already indicates that its syntax must have become significantly simpler. Despite this reduction, XML lost practically none of SGML’s flexibility.

XML dates to 1998, when its first specification was published as a W3C Recommendation. Since then it has become something of a lingua franca for data exchange, used for electronic catalogs as well as descriptions of electronic equipment processes. XML also makes the advantages of markup languages such as SGML and XML more apparent:

XML’s advantages over SGML quickly became clear in technical documentation too. Documents are easier to process and transform into other XML documents or file formats, and DTD creation also proved less complicated.

Nevertheless, XML initially still lacked standardized DTDs for technical documentation. Unlike product catalogs, whose standardized XML formats were developed early, standard DTD development for technical documentation began relatively late.

The first approach was to rewrite SGML DTDs as XML DTDs, as happened with DocBook. This retained the concept of a single monolithic DTD defining every element for the relevant document types. Such DTDs quickly become large and confusing, and each added element makes maintenance harder. A single DTD intended to cover many technical documentation areas soon reaches the limits of usability.

XML therefore initially retained the rule that the more specific, and thus useful, a DTD is, the more it costs. Few people are willing to bear these costs. In this respect, little changed from SGML.

DITA’s developers knew the problem of non-standardized documentation DTDs well. Their primary aim was therefore DTDs immediately usable for production. These are based on the concept of topics, defining self-contained information units.

DITA 1.1 provides DTDs for these topic types:

DITA also immediately provides semantic markup elements organized in subject-specific domains.

DITA 1.1 provides elements for these domains:

What distinguishes DITA is less its use of XML than its ready-to-use DTDs for creating documents and marking content, particularly for software documentation. The crucial question is whether these DTDs are sufficient and flexible enough for enough technical documentation areas. DocBook, for example, provides a suitable DTD for manuals but one scarcely adequate for online help.

As “Topic-based information creation” shows, topic-based documentation is not new. Topics have long been familiar and standard in online documentation. In the strong form offered by DITA, however, they are still less common in printed manuals.

Especially on first encountering DITA, people also ask whether its predefined topic types are enough for their documentation. The apparently small and ill-fitting selection often provokes skepticism. Specialization, deriving new types from existing ones, then becomes an argument for adoption. In practice, however, software documentation can initially be produced without specialization: the supplied types are sufficient for the desired documentation.

DITA’s development in recent years shows that ready-to-use DTDs have contributed greatly to its popularity.

  

 

 

 

back to top