Subject: RE: Need help with XSLT: adding new node btw existing elements
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 17 Aug 2006 08:58:46 +0100
|
> 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/
|