]> granicus.if.org Git - docbook-dsssl/commitdiff
proper support for saxon xhtml transformation.
authorKasun Gajasinghe <kasunbg@gmail.com>
Mon, 3 Oct 2011 06:13:14 +0000 (06:13 +0000)
committerKasun Gajasinghe <kasunbg@gmail.com>
Mon, 3 Oct 2011 06:13:14 +0000 (06:13 +0000)
xsl/webhelp/xsl/webhelp.xsl

index 6ca514b9272499819e833700498e8aa22773121c..6df50708277160fca524050de80f87fb2970ffea 100644 (file)
             encoding="utf-8"
             cdata-section-elements=""/>
 
+    <xsl:param name="chunker.output.method">
+        <xsl:choose>
+            <xsl:when test="contains(system-property('xsl:vendor'), 'SAXON 6')">saxon:xhtml</xsl:when>
+            <xsl:otherwise>html</xsl:otherwise>
+        </xsl:choose>
+    </xsl:param>
+    
+
     <!-- webhelp-specific params! -->
     <!-- To be added to normal params file someday -->
     <xsl:param name="webhelp.include.search.tab">true</xsl:param>
@@ -35,7 +43,7 @@
     <!-- webhelp-specific params! -->
 
     <!-- Set some reasonable defaults for webhelp output -->
-    <xsl:param name="chunker.output.indent">no</xsl:param>
+    <xsl:param name="chunker.output.indent">yes</xsl:param>
     <xsl:param name="navig.showtitles">0</xsl:param>
     <xsl:param name="manifest.in.base.dir" select="0"/>
     <xsl:param name="base.dir" select="concat($webhelp.base.dir,'/content/')"/>