]> granicus.if.org Git - docbook-dsssl/commitdiff
Bug #607725: make sure legalnoticelink is correct even when chunking to a different...
authorNorman Walsh <ndw@nwalsh.com>
Fri, 20 Sep 2002 13:22:33 +0000 (13:22 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 20 Sep 2002 13:22:33 +0000 (13:22 +0000)
xsl/html/titlepage.xsl

index b965bba37fd2f2b1e59cba5a380955d645388bc2..5b3fca28bd006a40203a41c20aafa4071f75842d 100644 (file)
 <xsl:template match="keywordset" mode="titlepage.mode">
 </xsl:template>
 
-<xsl:template match="legalnotice " mode="titlepage.mode">
+<xsl:template match="legalnotice" mode="titlepage.mode">
   <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
   <xsl:choose>
     <xsl:when test="$generate.legalnotice.link != 0">
         <xsl:apply-templates select="." mode="title.markup"/>
       </xsl:variable>
 
-      <a href="{$filename}">
+      <a href="{concat('ln-',$id,$html.ext)}">
         <xsl:copy-of select="$title"/>
       </a>