Boost logo

Boost-Commit :

From: fmhess_at_[hidden]
Date: 2007-09-20 11:46:17


Author: fmhess
Date: 2007-09-20 11:46:16 EDT (Thu, 20 Sep 2007)
New Revision: 39413
URL: http://svn.boost.org/trac/boost/changeset/39413

Log:
output html filenames that are human-readable for
class specialization references.

Text files modified:
   sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl | 10 ++++++++++
   1 files changed, 10 insertions(+), 0 deletions(-)

Modified: sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl
==============================================================================
--- sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl (original)
+++ sandbox/boost_docs/trunk/tools/boostbook/xsl/type.xsl 2007-09-20 11:46:16 EDT (Thu, 20 Sep 2007)
@@ -33,6 +33,16 @@
     </xsl:call-template>
   </xsl:template>
 
+ <xsl:template match="class-specialization|struct-specialization|union-specialization" mode="generate.id">
+ <xsl:variable name="specialization-name">
+ <xsl:call-template name="fully-qualified-name">
+ <xsl:with-param name="node" select="."/>
+ <xsl:with-param name="separator" select="'.'"/>
+ </xsl:call-template>
+ </xsl:variable>
+ <xsl:value-of select="translate($specialization-name, '&lt;&gt;', '__')"/>
+ </xsl:template>
+
   <xsl:template match="typedef" mode="generate.id">
     <xsl:call-template name="fully-qualified-name">
       <xsl:with-param name="node" select="."/>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk