Documentation Center

Enabling DITA preview

Use functionality from the DITA Open Toolkit to see XML files transformed in HTML format.

Before you begin

Download and install:

Copy the [JDK folder]\lib\tools.jar file in [JRE folder]\lib\.

Install DITA Toolkit

Procedure

  1. Download the newest version of DITA Toolkit from the website.
  2. Unzip the archive and run startcmd.bat from the root folder of the archive.
  3. Test the installation by running the command:
    dita -i (*dita file*) -f html 5 -o (output folder)

Run from SDL Trados Studio

Procedure

  1. In Trados Studio, go to File > Options, expand the File Types > XML: OASIS DITA 1.3 Compliant node, and select categoryPreview.
  2. Select the path to the dita.bat file from the bin directory where the DITA Toolkit was unzipped.