bluk DITA-to-Json conversion

Post here questions and problems related to editing and publishing DITA content.
Posts: 15
Joined: Tue Jun 11, 2019 9:01 pm

bluk DITA-to-Json conversion

Post by jeff_hooker »

Hi folks,
I've got a team who wants to convert an immense volume of DITA content into Json for the purposes of using it for a machine learning project. Is there a way of accessing the DITA-to-Json tool from the command line?
Posts: 710
Joined: Thu May 02, 2019 2:32 pm

Re: bluk DITA-to-Json conversion

Post by chrispitude »

Hi Jeff,

If you have a license for Oxygen Scripting, you can run it from the command line as described here:

Scripting Oxygen > Batch Converter

The usage given is as follows:

Code: Select all

sh scripts/ -i inputFiles -if inputFormat -o outputDirectory 
-of outputFormat [-ss (true|false)] [-csd (true|false)] [-cs converterSettingsFile]
Post Reply