Update of /cvsroot/boost/boost/tools/boostbook/xsl
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13866
Modified Files:
lookup.xsl
Log Message:
also search ancestor::struct when doing name lookup
Index: lookup.xsl
===================================================================
RCS file: /cvsroot/boost/boost/tools/boostbook/xsl/lookup.xsl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- lookup.xsl 3 May 2007 16:45:24 -0000 1.10
+++ lookup.xsl 6 May 2007 17:16:56 -0000 1.11
@@ -271,13 +271,14 @@
<xsl:with-param name="node" select="$node"/>
</xsl:call-template>
</xsl:variable>
-
+
<!-- The set of using directives for this context node -->
<xsl:variable name="directives"
select="$context/ancestor::*/using-namespace |
$context/ancestor::namespace |
$context/ancestor::*/using-class |
- $context/ancestor::class"/>
+ $context/ancestor::class |
+ $context/ancestor::struct"/>
<!-- The name of the current directive -->
<xsl:variable name="this-context">
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs