Search code examples
xsltxslt-2.0ditaoxygenxmldita-ot

Is this possible to change existing xhtml dita ot plugin as customised plugin


Is this possible to change the existing base DITA OT XHTML plugin as customized plugin

If possible means please give me guide lines

As required name of the plugin is com.process.xhtml

and trans type should be xhtml-ver-5

after that what are the changes needed in side the plugin to run the dita ot transformation successfully

I have tried like this

I have changed the plugin name as com.process.xhtml and replaced the files inside the plugin in place of org.dita.xhtml with com.process.xhtml this one.

After that transformation xhtml-ver-5 running I am getting error as

Engine name: DITA-OT
Severity: error
Description: Target "dita2xhtml-ver-5" does not exist in the project "DOST".

Please give me the guidelines for changing the existing base DITA OT XHTML plugin as customized plugin

Thanks in Advance


Solution

  • In the DITA OT documentation there is a section about building custom HTML plugins:

    http://www.dita-ot.org/dev/dev_ref/html-customization-plugins.html

    After you build the plugin you also need to run the DITA OT integrator to integrate it by running this command:

     dita -install