A pre-process is done before the main transformation. The input of the pre-process is dita files (maps and topics) and the output of the pre-process is often referred to as "normalized" dita files. The pre-process stage resolves several common DITA behaviors, such as resolving conref attributes, resolving keyref values, and adding links based on the hierarchy and relationship tables in a map. The normalized dita files are in a temporary directory. Most DITA transforms use this common pre-process setup.
A core DITA transform is the basic set of templates that support all the elements of a topic. This set is the basis for the following processing of any specialized element. Core transforms handle one topic instance, or nested set of topics, at a time. The DITA Open Toolkit provides several core transforms:
The complete transformation including pre-process can be executed by an Ant script. There
are some examples of simple Ant scripts in the directory