Hi, I have this problem using xsl:attribute-set with XSLTC;
In the following example XSLTC is not able to correctly assign the attribute "class1" to the <div> element while the attribute class2 is correctly assigned. It seems that XSLTC is not able to resolve the current node (.) in the xsl:attribute-set The same example works correctly as expected using interpreted xalan; any suggestion? Is it a known bug ? Thanks, Tommaso <xsl:attribute-set name="ATTR_SET"> <xsl:attribute name="class1"> <xsl:value-of select="name(.)"/> </xsl:attribute> </xsl:attribute-set> <xsl:template match="nir:intestazione"> <xsl:element name="div" use-attribute-sets="ATTR_SET"> <xsl:attribute name="class2"> <xsl:value-of select="name(.)"/> </xsl:attribute> <xsl:apply-templates /> </xsl:element> </xsl:template>