]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed bug 1120877 regarding duplicate match on website in title.markup mode.
authorBob Stayton <bobs@sagehill.net>
Mon, 28 Mar 2005 07:57:47 +0000 (07:57 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 28 Mar 2005 07:57:47 +0000 (07:57 +0000)
website/xsl/website-common.xsl

index 136e1d262447740052225f7b53811f7b0e70c5a9..714b866c7b25fb66f44e8ee76861f7c5d98f51b7 100644 (file)
@@ -378,12 +378,6 @@ node.</para>
 
 <!-- ==================================================================== -->
 
-<xsl:template match="webpage" mode="title.markup">
-  <xsl:apply-templates select="head/title"/>
-</xsl:template>
-
-<!-- ==================================================================== -->
-
 <xsl:template name="directory-depth">
   <xsl:param name="dir"></xsl:param>
   <xsl:param name="count" select="0"/>
@@ -780,7 +774,7 @@ node.</para>
 
 <xsl:template match="webpage" mode="title.markup">
   <xsl:param name="allow-anchors" select="0"/>
-  <xsl:apply-templates select=".//head/title"
+  <xsl:apply-templates select="head/title"
                        mode="title.markup">
     <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
   </xsl:apply-templates>