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/component.xsl

    r3ca2208 r00b1e11  
    3838  <xsl:element name="h{$level+1}" namespace="http://www.w3.org/1999/xhtml">
    3939    <xsl:attribute name="class">title</xsl:attribute>
    40     <xsl:call-template name="anchor">
    41       <xsl:with-param name="node" select="$node"/>
    42       <xsl:with-param name="conditional" select="0"/>
    43     </xsl:call-template>
    44     <xsl:apply-templates select="$node" mode="object.title.markup">
     40    <xsl:if test="$generate.id.attributes = 0">
     41      <xsl:call-template name="anchor">
     42        <xsl:with-param name="node" select="$node"/>
     43        <xsl:with-param name="conditional" select="0"/>
     44      </xsl:call-template>
     45    </xsl:if>
     46      <xsl:apply-templates select="$node" mode="object.title.markup">
    4547      <xsl:with-param name="allow-anchors" select="1"/>
    4648    </xsl:apply-templates>
     
    351353</xsl:template>
    352354
    353 <xsl:template match="article/title" mode="titlepage.mode" priority="2">
     355<xsl:template match="article/title|article/articleinfo/title" mode="titlepage.mode" priority="2">
    354356  <xsl:call-template name="component.title">
    355357    <xsl:with-param name="node" select="ancestor::article[1]"/>
Note: See TracChangeset for help on using the changeset viewer.