I have a DITA-OT plugin that is installed via this extension point:
Code: Select all
<feature
extension="dita.xsl.xhtml"
file="my-custom.xsl" />
If possible, I like to detect its type (Classic or Responsive).
Post by HomeGoods » Sat Jun 18, 2016 1:16 pm
Code: Select all
<feature
extension="dita.xsl.xhtml"
file="my-custom.xsl" />
Post by radu_pisoi » Tue Jun 21, 2016 3:27 pm
Code: Select all
<xsl:param name="TRANSTYPE"></xsl:param>
<xsl:template ...>
<xsl:choose>
<xsl:when test="$TRANSTYPE = 'webhelp-responsive'">
Webhelp Responsive transformation
</xsl:when>
<xsl:when test="$TRANSTYPE = 'webhelp'">
Webhelp Classic transformation
</xsl:when>
<xsl:otherwise>
Other type of XHTML transformation
</xsl:otherwise>
</xsl:choose>
Return to “DITA (Editing and Publishing DITA Content)”
This website was created & generated with <oXygen/>®XML Editor