Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52083 - trunk/tools/boostbook/xsl/doxygen
From: daniel_james_at_[hidden]
Date: 2009-03-31 15:43:36


Author: danieljames
Date: 2009-03-31 15:43:35 EDT (Tue, 31 Mar 2009)
New Revision: 52083
URL: http://svn.boost.org/trac/boost/changeset/52083

Log:
Support reference for variables that are both static and mutable in
boostbook.
Text files modified:
   trunk/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl | 13 ++++++++-----
   1 files changed, 8 insertions(+), 5 deletions(-)

Modified: trunk/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl (original)
+++ trunk/tools/boostbook/xsl/doxygen/doxygen2boostbook.xsl 2009-03-31 15:43:35 EDT (Tue, 31 Mar 2009)
@@ -1152,11 +1152,14 @@
       </xsl:attribute>
 
       <!-- Specifiers -->
- <xsl:if test="@static = 'yes'">
- <xsl:attribute name="specifiers">static</xsl:attribute>
- </xsl:if>
- <xsl:if test="@mutable = 'yes'">
- <xsl:attribute name="specifiers">mutable</xsl:attribute>
+ <xsl:variable name="specifiers">
+ <xsl:if test="@static = 'yes'"><xsl:text> static</xsl:text></xsl:if>
+ <xsl:if test="@mutable = 'yes'"><xsl:text> mutable</xsl:text></xsl:if>
+ </xsl:variable>
+ <xsl:if test="normalize-space($specifiers)">
+ <xsl:attribute name="specifiers">
+ <xsl:value-of select="normalize-space($specifiers)"/>
+ </xsl:attribute>
       </xsl:if>
 
       <type>


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