in xsltproc (which should work with the original, but doesn't).
<xsl:choose>\r
<!-- Handle inheritance; especially necessary for chunking -->\r
<xsl:when test="$inherit = 1">\r
- <xsl:variable name="attrs" select="ancestor-or-self::*/@its:*"/>\r
+ <xsl:variable name="attrs" select="ancestor-or-self::*/@*[namespace-uri() = 'http://www.w3.org/2005/11/its']"/>\r
<xsl:for-each select="$attrs">\r
<xsl:variable name="name" select="local-name(.)"/>\r
<xsl:if test="not(..//*/@*[local-name(.) = $name and (count(. | $attrs) = 1)])">\r
</xsl:for-each>\r
</xsl:when>\r
<xsl:otherwise>\r
- <xsl:apply-templates select="@its:*"/>\r
+ <xsl:apply-templates select="@*[namespace-uri() = 'http://www.w3.org/2005/11/its']"/>\r
</xsl:otherwise>\r
</xsl:choose>\r
</xsl:template>\r