xsl-list
[Top] [All Lists]

RE: [xsl] Need help with XSLT: adding new node btw existing elements

2006-08-17 00:58:59
This sounds to me that you are using MSXML. Afaik, it is the 
only xslt processor that adds xmlns="" to nodes that do not 
belong to a namespace, when the original document did belong 
to a namespace. 

Not at all. If you create an element foo in no namespace, as a child of an
element bar in namespace NNNN, then the system has no choice but to output
<foo xmlns=""/> - it's the only way to ensure that foo isn't placed in
namespace NNNN.

Michael Kay
http://www.saxonica.com/


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