]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug #3563697 where template make-relative-filename was using a
authorBob Stayton <bobs@sagehill.net>
Mon, 29 Oct 2012 18:09:53 +0000 (18:09 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 29 Oct 2012 18:09:53 +0000 (18:09 +0000)
global param chunk.base.dir instead of its local param base.dir.  Now it uses base.dir.

xsl/html/chunker.xsl

index df958c80b13b3c4c2b4aedfee25fcf00b3f931d0..0e44f4d5a113e4539a7733bbc7aa77ea4602158f 100644 (file)
     <!-- put Saxon first to work around a bug in libxslt -->
     <xsl:when test="element-available('saxon:output')">
       <!-- Saxon doesn't make the chunks relative -->
-      <xsl:value-of select="concat($chunk.base.dir,$base.name)"/>
+      <xsl:value-of select="concat($base.dir,$base.name)"/>
     </xsl:when>
     <xsl:when test="element-available('exsl:document')">
       <!-- EXSL document does make the chunks relative, I think -->
       <xsl:choose>
         <xsl:when test="count(parent::*) = 0">
-          <xsl:value-of select="concat($chunk.base.dir,$base.name)"/>
+          <xsl:value-of select="concat($base.dir,$base.name)"/>
         </xsl:when>
         <xsl:otherwise>
           <xsl:value-of select="$base.name"/>
@@ -75,7 +75,7 @@
     </xsl:when>
     <xsl:when test="element-available('redirect:write')">
       <!-- Xalan doesn't make the chunks relative -->
-      <xsl:value-of select="concat($chunk.base.dir,$base.name)"/>
+      <xsl:value-of select="concat($base.dir,$base.name)"/>
     </xsl:when>
     <xsl:otherwise>
       <xsl:message terminate="yes">