xsl-list
[Top] [All Lists]

[xsl] adding namespaces to result [XSLT 1.0]

2006-11-08 10:55:19
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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>