Processing (building)

Processing is producing output files from a set of DITA source files.

DITA Open Toolkit, working with other tools like the Java Development Kit (JDK) and Ant, provides a method to process DITA documents.

The following figure provides an overview of the processing and publishing of DITA documents using DITA Open Toolkit:
  • In step 1, the Ant build tool is initialized (either through an optional batch script or directly from the command line), and arguments that will be passed from the Ant script to Ant are validated.
  • In step 2, the Ant build tool calls the Toolkit, which produces the rendered temporary files. Input to this step is the .dita and .ditamap source files, and the DITA project DTDs or schemas.
  • In step 3, the XSLT processor (SAXON or Xalan) produces the published output files. Input to this step are the XSLT stylesheets for the project, and the temporary files produced in step 2.

Related concepts
Apache Ant
Ant script
Build file
Ant processing parameter
DITA Toolkit processing log