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 Author Eclipse plugin 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.
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.
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. Content for all additional project files included in the current edited file will appear expanded in place. The included content is read-only by default but can be directly edited if the Allow referenced content to be edited checkbox is selected in the preferences page.
Content completion is available according to the associated schema and it is enhanced with proposals for ID references, available transformation types, parameter names, and values.
The default automatic validation support for DITA-OT project files has enhanced Schematron rules that report invalid references to non-existing contexts. The default validation is based on a validation scenario named DITA-OT Project that in included in the DITA-OT project framework.
The DITA-OT Project framework also includes a validation scenario named DITA-OT Project Validation and Completeness Check. It contains validation units that automatically validate the project file based on the DITA-OT Project scenario and also a manual validation unit based on the DITA-OT Project Validation and Completeness Check validation engine that validates all contexts recursively.
When creating a
validation scenario, or editing an
existing scenario for a DITA-OT project file, you can select DITA-OT
Project Validation and Completeness Check engine in the
Validation engine column and clicking the
Settings button for that engine opens the
Configure validation engine dialog box where you can configure
options for validating the DITA-OT project.
The options available in this dialog box include:
Extends the validation of referenced resources to non-DITA files.
If selected, it will report warnings when a
topic is referenced multiple times in the DITA map,
unless a unique @copy-to attribute is used on the
<topicref> element for any topic that is
referenced multiple times.
<topicref> has a @copy-to
attribute
set:<topicref href="topic.dita"/>
.....
<topicref href="topic.dita" copy-to="topic2.dita"/>@copy-to attribute set
or both of them have the @copy-to attribute set to
the same
value:<topicref href="topic.dita" copy-to="topic2.dita"/>
......
<topicref href="topic.dita" copy-to="topic2.dita"/>Checks the DITA map for multiple
key references with the same key defined for them. This is helpful
because if you have two different resources with the same value for
the @keys attribute, all references will point to
the first one encountered and the other will be ignored.
<topicref href="t2.dita" keys="k2"/>
<topicgroup keyscope="ks">
<topicref href="t2.dita" keys="k2"/>
</topicgroup>it will not report the "k2" key as
a duplicate because it is defined in a key
scope on the second occurrence.<topicref> that
contains a @processing-role attribute set to
resource-only.@conref or @conkeyref.<colspecs> is different than the number
of columns detected from the table @cols
attribute.@cols attribute is
different than the number of columns detected in the table
structure.@cols, @rowsep, or
@colsep attributes are not numeric.@namest, @nameend, or
@colname attributes point to an incorrect column
name.
Profiling Preferences button to
open this preferences page). It also checks if profiling
attributes defined as single-value have multiple values set in
the searched topics.
Insert Editor
Variables button, or the browsing actions in the
Browse drop-down list.-Xmx5GbaseJVMArgLine parameter
to the "jvm.args" parameter value. For
example:-DbaseJVMArgLine=-Xmx5GWhen editing DITA OT project files in the Author visual editing mode, each presented deliverable has an inline button that can be used to individually publish it.
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.