On 12/03/2010 18:25, Dimitre Novatchev wrote:
I know this seems like an absurd scenario, but some people are asking
this question...
It seems that<xsl:namespace> was not intended for this purpose.
Any suggestions for a solution?
http://www.w3.org/TR/xslt20/#element-namespace
If the effective value of the name attribute is a zero-length string, a
namespace node is added for the default namespace.
so
<foo>
<xsl:namespace name="" select="$x"/>
sets the default namespace to the uri in the variable x.
David
--~------------------------------------------------------------------
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>
--~--