[yelp-xsl] xsldoc-scan.xsl: More correct handling of stylesheet variables



commit 9f47d275ce9526b60046e401656ff2e2e6780b34
Author: Shaun McCance <shaunm gnome org>
Date:   Fri Mar 2 13:13:18 2012 -0500

    xsldoc-scan.xsl: More correct handling of stylesheet variables

 doc/yelp-xsl/xsldoc-scan.xsl |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/doc/yelp-xsl/xsldoc-scan.xsl b/doc/yelp-xsl/xsldoc-scan.xsl
index 6e90d0f..03dcde0 100644
--- a/doc/yelp-xsl/xsldoc-scan.xsl
+++ b/doc/yelp-xsl/xsldoc-scan.xsl
@@ -187,6 +187,8 @@ free software.
                               [not(parent::xsl:stylesheet)][ name = $paramname]
                          or $xpath_node/../ancestor-or-self::*/preceding-sibling::xsl:variable
                               [ name = $paramname]
+                         or $xpath_node/ancestor::xsl:stylesheet/xsl:variable
+                              [ name = $paramname]
                         )">
             <param><xsl:value-of select="$paramname"/></param>
           </xsl:if>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]