Re: [xsl] Namespace handling question

Subject: Re: [xsl] Namespace handling question
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 14 May 2010 20:58:49 +0100
On 14/05/2010 20:52, Bridger Dyson-Smith wrote:
I'm still new to XSL and tend to write a
little extra.


note that xsl:element isn't just a verbose form of using the simpler literal result element, it has one major difference: it does _not_ (by default) copy the namspaces that are in scope to the result, so you should only use xsl;element that way if you explictly _donT want all the namespaces that are in scope in the stylesheet to be copied to the top level element, which is exactly the opposite of what you needed here.


david

Current Thread