cvs: phpdoc /xsl/docbook/html refentry.xsl
| From: | anatoly techtonik | Date: | Mon, 04 Jul 2005 17:04:32 +0000 |
| Subject: | cvs: phpdoc /xsl/docbook/html refentry.xsl | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969368928@lists.php.net to get a copy of this message | ||
techtonik Mon Jul 4 13:04:32 2005 EDT
Modified files:
/phpdoc/xsl/docbook/html refentry.xsl
Log:
- a name="" double generated for reference
http://cvs.php.net/diff.php/phpdoc/xsl/docbook/html/refentry.xsl?r1=1.3&r2=1.4&ty=u
Index: phpdoc/xsl/docbook/html/refentry.xsl
diff -u phpdoc/xsl/docbook/html/refentry.xsl:1.3 phpdoc/xsl/docbook/html/refentry.xsl:1.4
--- phpdoc/xsl/docbook/html/refentry.xsl:1.3 Fri Oct 1 12:32:08 2004
+++ phpdoc/xsl/docbook/html/refentry.xsl Mon Jul 4 13:04:31 2005
@@ -3,7 +3,7 @@
version='1.0'>
<!-- ********************************************************************
- $Id: refentry.xsl,v 1.3 2004/10/01 16:32:08 techtonik Exp $
+ $Id: refentry.xsl,v 1.4 2005/07/04 17:04:31 techtonik Exp $
********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
@@ -17,9 +17,12 @@
<xsl:template match="reference">
<div class="{name(.)}">
<xsl:call-template name="language.attribute"/>
- <xsl:call-template name="anchor">
- <xsl:with-param name="conditional" select="0"/>
- </xsl:call-template>
+ <xsl:if test="$generate.id.attributes != 0">
+ <xsl:attribute name="id">
+ <xsl:call-template name="object.id"/>
+ </xsl:attribute>
+ </xsl:if>
+
<xsl:call-template name="reference.titlepage"/>
<xsl:variable name="toc.params">