]> granicus.if.org Git - docbook-dsssl/commitdiff
Modified legalnotice template so that the base.name parameter is calculated
authorMauritz Jeanson <mj@johanneberg.com>
Wed, 15 Aug 2007 13:17:01 +0000 (13:17 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Wed, 15 Aug 2007 13:17:01 +0000 (13:17 +0000)
in the same way as for revhistory chunks. Using <xsl:apply-templates
mode="chunk-filename" select="."/> did not work for single-page output since
the template with that mode is in chunk-code.xsl.

xsl/html/titlepage.xsl

index de477ab2397b30e6d351749f1d2ae69ce15f8578..646a13b6eac3daf940a4fd5d4d98dee31d1e90d1 100644 (file)
       <xsl:variable name="filename">
         <xsl:call-template name="make-relative-filename">
           <xsl:with-param name="base.dir" select="$base.dir"/>
-         <xsl:with-param name="base.name">
-            <xsl:apply-templates mode="chunk-filename" select="."/>
-         </xsl:with-param>
+         <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
         </xsl:call-template>
       </xsl:variable>