posted 19 years ago
I need to create a xml line:
<originalLocale xml:lang="EN"/>
from
<develLc>EN</develLc>,
so I wrote the xslt as:
<xsl:element name="originalLocale">
<xsl:attribute name="xml:lang" namespace="http://www.w3.org/XML/1998/namespace">
<xsl:value-of select="locale/develLc"/>
</xsl:attribute>
<xsl:element>
But the result is always like:
<originalLocale xmlns:xml="http://www.w3.org/XML/1998/namespsace" xml:lang="EN"/> which not supported by the xml IE browser
How can I remove the xmlns attribute?
Thanks in advance,
Roy
[ June 08, 2003: Message edited by: Roy Huang ]
SCJP 1.4/SCBCD/SCWCD<br />MCSE<br />IBM professional XML Developer<br />SAP certified Development Consultant (NetWeaver portal and Web JavaApplication)