In the scenario Parameters tab you can customize all the parameters
which will be sent to the DITA-OT build file.
Edit DITA Ant transformation parameters
All the parameters that the DITA-OT documentation specifies as available for each chosen type of transformation (eg: XHTML) are listed along with their description. The values for some important parameters are already filled in. You can find more information about each parameter in the DITA OT Documentation. You can also add additional parameters to the list.
Using the toolbar buttons you can add, edit or remove a parameter.
Depending on the parameter type the parameter value will be:
- a simple text field for simple parameter values
- a combo box with some predefined values
- a file chooser and an editor variables selector to simplify setting a file path as value
to a parameter
The value of a parameter can be entered at runtime if a value
ask('user-message', param-type, 'default-value' ?) is used as value of parameter in
the
Configure parameters dialog:
- ${ask('message')} - Only the message displayed for the user is
specified.
- ${ask('message', generic, 'default')} - 'message' will
be displayed for the user, the type is not specified (the default is string), the default
value will be 'default'.
- ${ask('message', password)} - 'message' will be
displayed for the user, the characters typed will be replaced with a circle
character.
- ${ask('message', password, 'default')} - Same as above, default value
will be 'default'.
- ${ask('message', url)} - 'message' will be displayed
for the user, the type of parameter will be URL.
- ${ask('message', url, 'default')} - Same as above, default value will
be 'default'.