]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed variable name
authorJirka Kosek <jirka@kosek.cz>
Thu, 19 Aug 2004 08:59:52 +0000 (08:59 +0000)
committerJirka Kosek <jirka@kosek.cz>
Thu, 19 Aug 2004 08:59:52 +0000 (08:59 +0000)
xsl/common/l10n.xsl

index a38a0c90d95fc170eb285a2c6e72142d00adb19f..a643fdcdf76547649b290a9b60d6fc7c03f54553 100644 (file)
       <xsl:otherwise>
         <!-- can't do this one step: attributes are unordered! -->
         <xsl:variable name="lang-scope"
-                      select="$target/ancestor-or-self::*
+                      select="$node/ancestor-or-self::*
                               [@lang or @xml:lang][last()]"/>
         <xsl:variable name="lang-attr"
                       select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/>