The "odt" transform type creates a binary file using the
OASIS standard Open Document Format.
The "odt" transform path begins with the preprocess, as
with other builds. It then runs the Ant target dita.odt.package.topic (if
the input file is a topic) or dita.odt.package.map (if
the input file is a map). This description focuses on the map process,
which is made up of the following targets.
- dita.map.odt creates the content.xml portion
of the ODT output file. This is done by converting the map into a
merged XML file using the Java topicmerge program. An XSLT process
is then used to convert the merged file into content.xml.
- dita.map.odt.stylesfile is a target that reads
the input map, and uses XSLT to create a styles.xml file
in the temporary directory.
- dita.out.odt.manifest.file creates the manifest.xml portion
of the ODT output file.
- Once the three previous targets run, the generated files are zipped
up together with other required files to create the output ODT file.