xsl-list
[Top] [All Lists]

Re: [xsl] Namespace handling question

2010-05-14 14:59:17
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


--~------------------------------------------------------------------
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>