XML technologies / DITA / DITA Open Toolkit / The files of the DITA Open Toolkit
(Excerpt from “DITA - Der neue Standard für Technische Dokumentation” by Johannes Hentrich)
After installing the full package, the following files and directories appear in the DITA Open Toolkit installation directory:
root, the installation directory itself: this holds the ANT system build files, which control transformations and output production. Never modify these files.ant: this directory contains sample ANT build files for producing output with the toolkit. For instructions on adapting these files, see ANT.css: this directory contains some sample CSS files.demo: this directory contains further directories holding specializations, plugins and validators. Thedemodirectory contains:book: contains files for the bookmap specialization.elementref: contains files for a sample topic specialization.enote: contains files for a sample email specialization.faq: contains files for the FAQ specialization (Frequently Asked Questions).h2d: plugin for converting XHTML files into DITA-compliant topics.java: validators for DITA XML schemas.
If the FO plugin is installed, the
fodirectory appears here.
doc: holds the DITA Open Toolkit documentation.dtd: this directory holds all DITA DTDs, module files and entity files.lib: holds all the Java programs needed by the DITA Open Toolkit, such asdost.jar.plugins: this directory is intended for plugins, but has so far remained empty.resource: holds additional files required by the DITA Open Toolkit.samples: this directory holds some sample files.schema: the XML Schema files corresponding to the DTDs, module files and entity files are in this directory.tools: ANT is stored here.xsl: this directory contains further directories holding XSLT stylesheets for the different output formats. Thexsldirectory contains:common: holds XSLT stylesheets usable in all processing operations.docbook: this directory holds XSLT stylesheets for converting DITA topics into DocBook.preprocess: holds XSLT stylesheets responsible for conditional processing, the mechanismconrefand linking.xtroff: holds the XSLT stylesheets for generating troff files.xslfo: this directory holds all XSLT stylesheets that must produce XSL-FO files.xslhtml: holds XSLT stylesheets for XHTML production.xslrtf: this directory holds XSLT stylesheets that generate RTF files from DITA topics.
XSLT stylesheets
The XSLT stylesheets in the toolkit’s xsl directory transform DITA XML files and generate output. A possible transformation’s type is also called transtype and corresponds to the name of a variable in an ANT build file.
The following table lists the toolkit’s transformation types and the XSLT stylesheets controlling them. Not every transformation type can be overridden, that is, customized.
Transformation type | Overridable | XSLT stylesheets |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
Table: Transformation types
Information on adapting the FO plugin’s XSLT stylesheets and the transformation type pdf2 is provided in Idiom FO plugin.
Information on adapting XSLT stylesheets for XHTML production, that is, the transformation type xhtml is provided in XHTML and CSS.
Plugins
Numerous plugins extend the DITA Open Toolkit’s functionality:
apiref-0.8: a specialization for APIs (Application Programming Interface).cshelp1.1: plugin for creating context-sensitive help.docbook2dita 1.0: XSLT stylesheets for transforming DocBook into DITA.FrameMaker Adapter 0.8: plugin for generating FrameMaker 7.x files from DITA XML files, also known as the Mekon adapter.javaapiref-0.8: topic specialization for documenting Java classes.message specialization 1: topic specialization for documenting system messages.Music 1.1: sample files demonstrating how to create a toolkit plugin with specializations.Thesaurus0.8.1: a specialization for classifying content (taxonomy), based on SKOS (Simple Knowledge Organization System). It can generate RDF (Resource Description Framework) files.troubleshooting 1.0: a specialization for documenting fault diagnosis.
The FO plugin for PDF production is described in detail in “Idiom FO plugin”.
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