Modifying plugin XSL

Post here questions and problems related to editing and publishing DITA content.
mdslup
Posts: 167
Joined: Tue Mar 06, 2018 1:34 am

Modifying plugin XSL

Post by mdslup »

In order to add some functionality to the webhelp classic view, I've been modifying the XSL in the "...frameworks\dita\DITA-OT2.x\plugins\com.oxygenxml.webhelp.classic\xsl" folder.

Is this considered "best practice"?

I think it would be better to copy the plugin folder and edit that code instead. If I did this, how do I connect that new plugin to a transformation scenario?
cosmin_andrei
Posts: 145
Joined: Mon Jun 12, 2017 10:50 am

Re: Modifying plugin XSL

Post by cosmin_andrei »

Hello,

You could most probably achieve this by developing and using your own custom XSL to override the predefined XSL through an XSLT extension point.
You can find more details about using extension points on this page from our User-Guide:
https://www.oxygenxml.com/doc/versions/ ... mport.html
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
Post Reply