DITA Open Toolkit Project
The DITA Open Toolkit project file allows you to define all your DITA map input and filter pairs and to produce the desired output formats by applying the publishing engine over this single project file: https://www.dita-ot.org/dev/topics/using-project-files.html.
Oxygen XML Editor has special support for creating, editing, validating, and publishing DITA Open Toolkit project files represented in XML format. It can also use such files to detect connections between DITA resources in the entire project and to apply root map and filter pairs when editing.
Editing DITA Open Toolkit Project Files
The New Document wizard includes a template to help you create DITA Open Toolkit project files (with an .xml file extension). The template is located in the folder. There is also a sample project file that can be found in the application samples folder: OXYGEN_INSTALL_DIR/samples/dita/mobile-phone/mobilePhoneProjectFile.xml.
Content completion is done according to the associated schema and it is enhanced with proposals for ID references, available transformation types, parameter names, and values.
The validation support has enhanced Schematron rules that report invalid references to non-existing contexts.
When working with a DITA-OT project file in the Author visual editing mode, you can see a compact representation of the file by default. You can switch to the Edit style in the Styles toolbar drop-down menu to edit the file using form controls and inline buttons. The additional View as YAML style can be selected to see a visual representation of the same document in YAML.
Publishing DITA Open Toolkit Project Files
- Publish DITA-OT Project (all deliverables) - Runs the publishing engine and produces output for all deliverables defined in the project file.
- Publish DITA-OT Project (select deliverable) - Runs the publishing engine and produces output for only one deliverable specified by the end-user.
- project.file - Specifies the path to the project file.
- dita-ot.dir - Specifies the directory where DITA-OT, used in transformation is installed.
- additional.args - Specifies the additional arguments used in transformation.
- deliverable.id - Specifies the id of the deliverable. This parameter is only available in the Publish DITA-OT Project (select deliverable) transformation.
Main Files Support for DITA Open Toolkit Project Files
Editing Contexts Detected from DITA Open Toolkit Project Files
Once a DITA-OT project file is added to the Main Files folder, the
Context drop-down menu on the DITA Maps
Manager toolbar will contain context DITA maps defined in the project file
and the
Profiling/Conditional Text menu will contain filter pairs gathered from
the project file. When you select one of them in the drop-down menu, the application
gathers the keys from the context DITA map and applies the filters specified in that
context.