diff options
-rw-r--r-- | xslt/mallard/common/mal-if.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/mallard/common/mal-if.xsl b/xslt/mallard/common/mal-if.xsl index 9a221593..ed43862f 100644 --- a/xslt/mallard/common/mal-if.xsl +++ b/xslt/mallard/common/mal-if.xsl @@ -234,7 +234,7 @@ of dynamically showing or hiding content based on those tokens. <xsl:choose> <xsl:when test="$token = 'lang:C' or $token = 'lang:c'"> <xsl:choose> - <xsl:when test="not(ancestor-or-self::*/@xml:lang)"> + <xsl:when test="not($node/ancestor-or-self::*/@xml:lang)"> <xsl:text>1</xsl:text> </xsl:when> <xsl:otherwise> |