On 2.10.2011 13:24, Kasun Gajasinghe wrote: > So, does that the better way for this is to create another customization > layer that imports webhelp.xsl, and add these params to it?
Indeed, saxon:xhtml output method works only in Saxon so one have to put
it into customization layer.
Or it can be set conditionally in webhelp.xsl using something like:
<xsl:param name="chunker.output.method">
<xsl:choose>
<xsl:when test="contains(system-property('xsl:vendor'), 'SAXON
6')">saxon:xhtml</xsl:when>
<xsl:otherwise>xml</xsl:otherwise>
</xsl:choose>
</xsl:param>
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: [email protected] http://xmlguru.cz
------------------------------------------------------------------
Professional XML consulting and training services
DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------
signature.asc
Description: OpenPGP digital signature
