Conref file for tasks
Run the startcmd file that is applicable for your
operating system.
The startcmd.bat and startcmd.sh
files are in the directory where you installed the DITA-OT.
If necessary, run the startcmd file that is applicable for
your operating system.
You do not need to run the startcmd file if you already
have a command-prompt or terminal window that was invoked by the
startcmd file open.
From the DITA-OT shell, enter the following
command:
ant -f build_demo.xml
You receive the following
prompt:[echo] Please enter the filename for the DITA map that you
[echo] want to build including the directory path (if any).
[echo] The filename must have the .ditamap extension.
[echo] Note that relative paths that climb (..) are not supported yet.
[echo] To build the sample, press return without entering anything.
[input] The DITA map filename: [C:\DITA-OT1.6.M5\samples\hierarchy.ditamap]
- input-file is the DITA map or DITA file that you want
to process.
- transformation-type is the transformation type.
- parameter-name is the name of an optional
parameter.
- value is an applicable value for the optional
parameter.
If you do not specify an output directory,
by default, the DITA-OT writes the output to the
installation-directory\out
directory.