dita2docbook

Use the dita2docbook target to generate DocBook.

Parameters

args.artlbl
An optional parameter that specifies whether the path and name of the image file are displayed in brackets after the image. The valid values are yes and no. The default value is no.
args.draft
An optional parameter that specifies whether draft comments and the content of <required-cleanup> elements are rendered in output. The valid values are yes and no. The default value is no.
args.input
An optional parameter that specifies the name and path of the input file. This parameter is case sensitive.
Note: This parameter must be provided if dita.input and and dita.input.dirname are not provided.
args.logdir
An optional parameter that specifies the directory where the generated log files are written. The default value is the output directory.
Note: If you run an aggregated target, for example, the all target that is used by the DITA Open Toolkit demos, the following behavior occurs:
  • If the value of args.logdir is the same for all transformations, the directory specified by the args.logdir parameter is used.
  • If the value of args.logdir varies among the transformations, but the transformations share a common output directory, the generated log files are written to the common output directory.
  • If the values of both args.logdir and output.dir vary among the transformations, the generated log files are written to the basedir directory.
args.xsl
An optional parameter that specifies the XSL file. The default value depends on the transformation type:
docbook
dita2docbook.xsl
eclipsehelp
dita2xhtml.xsl
htmlhelp
dita2html.xsl
javahelp
dita2html.xsl
pdf
dita2fo-shell.xsl
wordrtf
dita2rtf.xsl
xhtml
dita2xhtml.xsl
basedir
An optional parameter that specifies the directory where the Ant processing begins. If a relative path is used, basedir is set relative to the current directory. If not specified, the default value is the current directory.
clean.temp
An optional parameter that specifies whether the temp directory is erased after each build. The valid values are yes and no. The default value is yes.
dita.dir
An optional parameter that specifies the absolute path of directory where the DITA Open Toolkit is installed. The default value is the current directory.
dita.extname
An optional parameter that specifies the file extension of the files that are written to the temp directory. The valid values are dita, .dita, xml, and .xml. The default value is xml.
dita.temp.dir
An optional parameter that specifies the directory where the temporary files are written. The default value is temp.
generate.copy.outer
An optional parameter that specifies how the DITA Open Toolkit processes files that are neither in the same directory as the DITA map nor in a subdirectory of the directory that contains the DITA map. The following values are valid:
1
Only files that are in the same directory as the DITA map or in a subdirectory of the DITA map are generated.
2
All files are generated, including files that are written to a directory outside of the output directory.
3
The directories are adjusted so that all files are generated within the output directory.
The default value is 1.