$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: daniel_james_at_[hidden]
Date: 2008-05-05 16:28:56
Author: danieljames
Date: 2008-05-05 16:28:56 EDT (Mon, 05 May 2008)
New Revision: 45153
URL: http://svn.boost.org/trac/boost/changeset/45153
Log:
If the same macro appears twice, generated unique ids.
Text files modified:
branches/doc/tools/boostbook/xsl/macro.xsl | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: branches/doc/tools/boostbook/xsl/macro.xsl
==============================================================================
--- branches/doc/tools/boostbook/xsl/macro.xsl (original)
+++ branches/doc/tools/boostbook/xsl/macro.xsl 2008-05-05 16:28:56 EDT (Mon, 05 May 2008)
@@ -73,5 +73,9 @@
<xsl:template match="macro" mode="generate.id">
<xsl:value-of select="@name"/>
+ <xsl:if test="count(key('named-entities', @name))!=1">
+ <xsl:text>_</xsl:text>
+ <xsl:value-of select="generate-id(.)"/>
+ </xsl:if>
</xsl:template>
</xsl:stylesheet>