Documentation Center

Configuring a custom DITA-OT environment

SDL LiveContent Architect installs with a number of pre-configured output formats. Custom DITA-OT plugins can be added to the system as well.

Setting up a custom DITA-OT environment

If you want to integrate your own plugins into the DITA-OT delivered with SDL LiveContent Architect, it is advised to clone the DITA-OT. This has the following advantages: upgrades of SDL LiveContent Architect has no effect on your DITA-OT implementation, you have full control over which version is used of the DITA-OT, SAXON, ANT, etc.

DITA-OT can be found in the following location: <drive>:\InfoShare\App<project>\Utilities\DITA-OT\InfoShare

where
  • <drive>: drive letter on which the SDL LiveContent Architect CMS is installed
  • <project>: project suffix as defined during installation
The following steps must be executed:
  1. Copy the existing DITA-OT\InfoShare directory as <drive>:\InfoShare\App<project>\Utilities\DITA-OT\<company name>
  2. Change the PS_DITAOT environment variable in the file config.cmd to indicate the directory you just created.
  3. Copy your stylesheets into the right location in the custom DITA-OT directory (<drive>:\InfoShare<project>\App<project>\Utilities\DITA-OT\<company name>\xsl\InfoShare\).

Changing the metadata configuration file

Make the following changes to the metadataconfig.xml file:
  • Add a StyleProcessor (ishfrmfield with id = StyleProcessorField)

    <item>
       <value>DITA-OT\<company name></value>
       <label>Your own DITA-OT implementation</label>
    </item>							
  • Optional: Add a TransType in case you need to define additional plug-ins (ishfrmfield with id = DitaOTTransactionTypeField)

    <item>
       <value>pdf2</value>
       <label>Idiom plugin</label>
    </item>