[xsl] adding namespaces to result [XSLT 1.0]

Subject: [xsl] adding namespaces to result [XSLT 1.0]
From: "Fidalgo Sicilia Manuel" <manuel.fidalgo@xxxxxxxxxxxxxxx>
Date: 8 Nov 2006 17:57:00 +0100
Hi:

Im trying to create a XML document from another using XSLT. The problem comes
when I try to add a namespace to the result (e.g. xmlns:iso4217="http://www.
xbrl.org/2003/iso4217"). I have read in post http://www.stylusstudio.
com/xsllist/200504/post00350.html that it is not possible to add a namespace
with a xsl:attribute, so I tried to use xsl:copy-of with the axe "namespace".
This doesnt work fine since it does not add "xmlns:" to the namespace and if
I
try to add "xmlns:" by hand it does not work because it stops from being an
attribute. What can I do?

Thanks in advance

Current Thread