Merge DITA-OT similar Plugins

Posts: 83
Joined: Tue Jul 17, 2018 6:57 am

Merge DITA-OT similar Plugins

Post by msambasiva » Mon Apr 05, 2021 1:21 pm

Merge DITA-OT similar Plugins


DITA-OT 2.4.6
Oxygen Editor 22.0

We have developed 5 plugins to convert differnet types of xmls into DITA. The structure of xml content is differnet so we developed different plugins.

Ex: To convert Product1.xmls into DITA(dita topics,ditamaps) , we created plugin1. Similar plugin2 for Product2.xmls and plugin3 for Product3.xmls.

Now we are looking to merge the conversion process into one plugin

There is a plugin.xml and xslts for each plugin .

Below are the dita command used,

/usr/bin/env \
'JAVA_HOME=/java/current' \
'/h/src/dita-ot-2.4.6/bin/dita' \
'--format=Product1dita' \
'--input=/dev/null' \
'-Dargs.input.dir=/h/nonfa/svn/prod1' \
'--output=/h/nonfa/gen/prod1' |

/usr/bin/env \
'JAVA_HOME=/java/current' \
'/h/src/dita-ot-2.4.6/bin/dita' \
'--format=Product2dita' \
'--input=/dev/null' \
'-Dargs.input.dir=/h/nonfa/svn/prod2' \
'--output=/h/nonfa/gen/prod2' |

We are trying to merge these plugins into one to avoid maintenance.

Please suggest the best option to merge similar plugins into one plugin.


Posts: 7589
Joined: Fri Jul 09, 2004 5:18 pm

Re: Merge DITA-OT similar Plugins

Post by Radu » Mon Apr 05, 2021 1:41 pm

Hi Samba,

We do not have an automated tool to merge DITA OT plugins. So you will probably need to manually try and merge the plugins one by one. I cannot give you particular advice because I do not know what your plugins do and what resources they contain.

Radu Coravu
<oXygen/> XML Editor

Post Reply