ODT Transform type (Open Document Format)
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.odtcreates thecontent.xmlportion 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 intocontent.xml.dita.map.odt.stylesfileis a target that reads the input map, and uses XSLT to create astyles.xmlfile in the temporary directory.dita.out.odt.manifest.filecreates themanifest.xmlportion 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.