[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Empty div tag in XHTML partintro throws CSS off
On Sun, Oct 2, 2011 at 9:06 PM, Jirka Kosek <jirka@kosek.cz> wrote: > > 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> > Added to webhelp and committed. It should be "SAXON 6" (with a space) which you correctly added. But how it's displayed in text format has confused me a little at first. I've set html for "otherwise" which was the default in webhelp before. Thanks, --Kasun > > Jirka > > -- > ------------------------------------------------------------------ > Jirka Kosek e-mail: jirka@kosek.cz 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 > ------------------------------------------------------------------ > -- ~~~*******'''''''''''''*******~~~ Kasun Gajasinghe, University of Moratuwa, Sri Lanka. Blog: http://kasunbg.blogspot.com Twitter: http://twitter.com/kasunbg
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]