Our extension includes the whole HTML5 hazardstatement table from hazard-d.xsl. We've copied the template from this file and modified the use of symbols and borders. We also added conditional statements to differentiate 2 different hazard statement styles that are controlled by a parameter.
The latest Webhelp release v23.1 now includes its own extension of this template.
But the new Webhelp extension breaks into different parts:
- Call original template from org.dita.html5/xsl/hazard-d.xsl.
- Add hazard type to class attribute.
- Add hazard header in a thead element and define colgroup.
- Add hazard content into a tbody element.
Is there a way to call our extension of the HTML5 hazard-d.xsl instead of the original one?
Or should we extend the new html5-hazard.xsl templates instead?