]> granicus.if.org Git - docbook-dsssl/commitdiff
Removed fragment identifiers from hrefs in alias.h file.
authorJirka Kosek <jirka@kosek.cz>
Tue, 5 Feb 2002 23:01:06 +0000 (23:01 +0000)
committerJirka Kosek <jirka@kosek.cz>
Tue, 5 Feb 2002 23:01:06 +0000 (23:01 +0000)
xsl/htmlhelp/htmlhelp.xsl

index 10c1414e283d44e6a80ae374cd528a79af159a96..b22a1c763e285158fea2e874db6dcc65d96634ef 100644 (file)
@@ -705,11 +705,14 @@ Title=</xsl:text>
       <xsl:with-param name="attribute" select="'topicname'"/>
     </xsl:call-template>
   </xsl:variable>
+  <xsl:variable name="href">
+    <xsl:call-template name="href.target.with.base.dir">
+      <xsl:with-param name="object" select=".."/>
+    </xsl:call-template>
+  </xsl:variable>
   <xsl:value-of select="$topicname"/>
   <xsl:text>=</xsl:text>
-  <xsl:call-template name="href.target.with.base.dir">
-    <xsl:with-param name="object" select=".."/>
-  </xsl:call-template>
+  <xsl:value-of select="substring-before(concat($href, '#'), '#')"/>
   <xsl:text>&#xA;</xsl:text>
 </xsl:template>