XML technologies / DITA / Authoring environments for DITA
(Excerpt from “DITA - Der neue Standard für Technische Dokumentation” by Johannes Hentrich)
Creating DITA XML files with Notepad is possible, but far from convenient. There are now numerous editors that handle XML well. A distinction should be made between native XML editors and editors that acquired XML support later. Native XML editors often prove the better choice for DITA.
One aim of DITA’s developers was to let technical writers use familiar tools, avoiding extra learning effort when editing DITA files. XML editors certainly belong in a technical writer’s toolbox. Initially used mainly for data manipulation, they now offer almost the convenience technical writers know from word processors.
One of an XML editor’s most important features is the ability to validate a DITA XML document against a DITA DTD, checking whether elements are used as defined. Accordingly, an XML editor should offer only the elements and attributes valid in the current editing context.
Since DITA is designed around information reuse, an XML editor supporting DITA should provide all the mechanisms needed for this. Besides creating maps, the mechanism conref should also be supported. Some XML editors even provide a bookmap editor with which you can assemble topics for a book.
Native XML editors handle DITA specialization without difficulty. Often a new DTD is linked to a template, allowing XML files to be created with that DTD. Editors whose native language is not XML, such as FrameMaker, often require additional programming before they can support specialized DTDs.
DITA includes not only DTDs but also the DITA Open Toolkit, which processes DITA XML files into output formats such as HTML or PDF. Many XML editors now integrate the toolkit, allowing XML documents based on specialized DTDs to be processed. Integrating it into a typesetting program such as FrameMaker is somewhat problematic, however, because PDF production there does not use XSL-FO.
Anyone working with DITA will sooner or later handle many individual DITA XML files that must be stored and managed somewhere. Many XML editors therefore provide an adapter for storing these files, for example in a version control system such as Subversion (SVN). Here too, native XML editors are more flexible than typesetting programs.
The following sections introduce several editors for creating and editing DITA XML files:
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