Ignore:
Timestamp:
Jul 21, 2007, 8:07:11 AM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
master
Children:
a6966fa
Parents:
3ca2208
Message:

Merged r8226 from new-xsl branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/sections.xsl

    r3ca2208 r00b1e11  
    436436      </xsl:if>
    437437    </xsl:if>
    438     <xsl:if test="$allow-anchors != 0">
     438    <xsl:if test="$allow-anchors != 0 and $generate.id.attributes = 0">
    439439      <xsl:call-template name="anchor">
    440440        <xsl:with-param name="node" select="$section"/>
    441441        <xsl:with-param name="conditional" select="0"/>
    442442      </xsl:call-template>
     443    </xsl:if>
     444    <xsl:if test="$generate.id.attributes != 0 and not(local-name(.) = 'appendix')">
     445      <xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
    443446    </xsl:if>
    444447    <xsl:copy-of select="$title"/>
Note: See TracChangeset for help on using the changeset viewer.