Hi, I get the same result as described in this bug
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1549 with xalan-j_2_5_D1. Reopen? Greets, Stephan PS: <?xml version="1.0" encoding="UTF-8"?> <foo/> <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="foo"> <xsl:element name="bar"> <xsl:attribute name="xml:lang">de-DE</xsl:attribute> </xsl:element> </xsl:template> </xsl:stylesheet>
