$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: fmhess_at_[hidden]
Date: 2007-09-20 11:47:15
Author: fmhess
Date: 2007-09-20 11:47:14 EDT (Thu, 20 Sep 2007)
New Revision: 39414
URL: http://svn.boost.org/trac/boost/changeset/39414
Log:
Ouput html filenames that have a human-readable prefix
for classes that have specializations as ancestors.
Text files modified: 
   sandbox/boost_docs/trunk/tools/boostbook/xsl/lookup.xsl |    14 +++++---------                          
   1 files changed, 5 insertions(+), 9 deletions(-)
Modified: sandbox/boost_docs/trunk/tools/boostbook/xsl/lookup.xsl
==============================================================================
--- sandbox/boost_docs/trunk/tools/boostbook/xsl/lookup.xsl	(original)
+++ sandbox/boost_docs/trunk/tools/boostbook/xsl/lookup.xsl	2007-09-20 11:47:14 EDT (Thu, 20 Sep 2007)
@@ -14,15 +14,11 @@
   <!-- Generate an ID for the entity referenced -->
   <xsl:template name="generate.id">
     <xsl:param name="node" select="."/>
-    <xsl:choose>
-      <xsl:when test="ancestor::class-specialization|ancestor::struct-specialization|ancestor::union-specialization">
-        <xsl:value-of select="generate-id(.)"/>
-        <xsl:text>-bb</xsl:text>
-      </xsl:when>
-      <xsl:otherwise>
-        <xsl:apply-templates select="$node" mode="generate.id"/>
-      </xsl:otherwise>
-    </xsl:choose>
+    <xsl:apply-templates select="$node" mode="generate.id"/>
+    <xsl:if test="ancestor::class-specialization|ancestor::struct-specialization|ancestor::union-specialization">
+      <xsl:text>-spec</xsl:text>
+      <xsl:value-of select="generate-id(.)"/>
+    </xsl:if>
   </xsl:template>
 
   <xsl:template match="*" mode="generate.id">