aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-07-21 15:00:15 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-07-21 15:00:15 +0000
commit60a5a938e6657250d228742b8367f8dbe7dd28d4 (patch)
tree6d7c4dffd49992a47185e53deacabe1d41036b28 /stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl
parent85117fe2b9fa404a21083ba975e06b57a6866d1b (diff)
Merged r8226 from new-xsl branch.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8228 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl')
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl12
1 files changed, 7 insertions, 5 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl
index c7dca21ca..b5af13ea2 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl
@@ -213,11 +213,13 @@
<h1>
<xsl:attribute name="class">title</xsl:attribute>
- <xsl:call-template name="anchor">
- <xsl:with-param name="node" select="$node"/>
- <xsl:with-param name="conditional" select="0"/>
- </xsl:call-template>
- <xsl:apply-templates select="$node" mode="object.title.markup">
+ <xsl:if test="$generate.id.attributes = 0">
+ <xsl:call-template name="anchor">
+ <xsl:with-param name="node" select="$node"/>
+ <xsl:with-param name="conditional" select="0"/>
+ </xsl:call-template>
+ </xsl:if>
+ <xsl:apply-templates select="$node" mode="object.title.markup">
<xsl:with-param name="allow-anchors" select="1"/>
</xsl:apply-templates>
</h1>