]> granicus.if.org Git - docbook-dsssl/commitdiff
bug fix for generate.id.attributes creating duplicate ids.
authorBob Stayton <bobs@sagehill.net>
Sun, 22 Apr 2012 09:59:49 +0000 (09:59 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 22 Apr 2012 09:59:49 +0000 (09:59 +0000)
xsl/html/autoidx.xsl
xsl/html/titlepage.xsl

index 087986364074982dbba8739727bc9ff999265638..0c43ca3c2385d85a416bf0bd58ea40b409899ec8 100644 (file)
     <xsl:otherwise>
       <a>
         <xsl:apply-templates select="." mode="class.attribute"/>
-        <xsl:call-template name="id.attribute"/>
         <xsl:variable name="title">
           <xsl:choose>
             <xsl:when test="&section;/titleabbrev and $index.prefer.titleabbrev != 0">
index eb6529f4039c3fb42e49816548ab9009872c0d1f..fc839e1fec8d68497281f26aa3a7b422bb161fd2 100644 (file)
         <a name="{$id}"/>
       </xsl:when>
       <xsl:otherwise>
-        <xsl:attribute name="id">
-          <xsl:value-of select="$id"/>
-        </xsl:attribute>
       </xsl:otherwise>
     </xsl:choose>
     <xsl:choose>