Hello,
can anyone help me please?
The Xalan mishandles the <xsl:attribute name="xml:lang"> tag. The error
message says:
... Could not resolve namespace prefix: xml. ...
I am a little surprised - since this is the reserved namespace and it should
be ok without any declaration. Or am I missing something?

Here is the transformation (rather stupid, but short - it's good for the
example ;-)

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                version="1.0">
   <xsl:output encoding="Windows-1252"/>

   <xsl:template match="/">
      <html>
      <xsl:element name="p">
      <xsl:attribute name="xml:lang">en</xsl:attribute>
      </xsl:element>
      </html>
   </xsl:template>

</xsl:stylesheet>

Btw, msxsl handles this perfectly.

Thanks.


Kind regards,
Alex



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to