Merge DITA-OT similar Plugins
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 91
- Joined: Tue Jul 17, 2018 6:57 am
Merge DITA-OT similar Plugins
Post by msambasiva »
Merge DITA-OT similar Plugins
Hi,
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.
Thanks,
Samba
Hi,
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.
Thanks,
Samba
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Merge DITA-OT similar Plugins
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.
Regards,
Radu
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.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service