XSL override dita2html5.xsl
Posted: Tue Jun 09, 2026 3:49 pm
Hi!
AFAIK, when transforming from DITA to WebHelp, the 2 first steps are:
https://www.oxygenxml.com/doc/versions/ ... uyr_b1y_bx
I have in my dita source
I want final result in HTML5
But the first step dita2html5 that generates <area href="..." shape="rect"> looses my class and next step dita2webhelp is too late.
So, is there a way to override dita2html5 endpoint inside an opt with WebHelp engine? Example:
Thanks for help
AFAIK, when transforming from DITA to WebHelp, the 2 first steps are:
- dita2html5 = generic engine DITA-OT
- dita2webhelp = UI Oxygen
https://www.oxygenxml.com/doc/versions/ ... uyr_b1y_bx
I have in my dita source
Code: Select all
<area>
<xref outputclass="popup-link"/>
</area>Code: Select all
<area href="..." shape="rect" class="popup-link">So, is there a way to override dita2html5 endpoint inside an opt with WebHelp engine? Example:
Code: Select all
<xslt>
<extension file="resources/xsl/imagemap-override.xsl" id="com.oxygenxml.webhelp.xsl.dita2webhelp"/>
<extension file="resources/xsl/imagemap-override.xsl" id="com.oxygenxml.webhelp.xsl.dita2html5"/>
<extension file="resources/xsl/imagemap-override.xsl" id="org.dita.html5.xsl.dita2html5"/>
</xslt>