]> granicus.if.org Git - docbook-dsssl/commitdiff
Don't output anchor for refsect*, the anchor is output as part of the title processing
authorNorman Walsh <ndw@nwalsh.com>
Sat, 4 Aug 2001 22:08:07 +0000 (22:08 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sat, 4 Aug 2001 22:08:07 +0000 (22:08 +0000)
xsl/html/refentry.xsl

index fe73b234532f479ca7da8b3afaea304ebeaf1138..38d9524fb512a4fdd4b9e5aef790a9a5b9220839 100644 (file)
 </xsl:template>
 
 <xsl:template match="refsect1/title">
+  <!-- the ID is output in the block.object call for refsect1 -->
   <h2>
-    <a>
-      <xsl:attribute name="name">
-        <xsl:call-template name="object.id">
-          <xsl:with-param name="object" select="ancestor::refsect1"/>
-        </xsl:call-template>
-      </xsl:attribute>
-    </a>
     <xsl:apply-templates/>
   </h2>
 </xsl:template>
 
 <xsl:template match="refsect2/title">
+  <!-- the ID is output in the block.object call for refsect2 -->
   <h3>
-    <a>
-      <xsl:attribute name="name">
-        <xsl:call-template name="object.id">
-          <xsl:with-param name="object" select="ancestor::refsect2"/>
-        </xsl:call-template>
-      </xsl:attribute>
-    </a>
     <xsl:apply-templates/>
   </h3>
 </xsl:template>
 
 <xsl:template match="refsect3/title">
+  <!-- the ID is output in the block.object call for refsect3 -->
   <h4>
-    <a>
-      <xsl:attribute name="name">
-        <xsl:call-template name="object.id">
-          <xsl:with-param name="object" select="ancestor::refsect3"/>
-        </xsl:call-template>
-      </xsl:attribute>
-    </a>
     <xsl:apply-templates/>
   </h4>
 </xsl:template>