Subject: RE: Need help with XSLT: adding new node btw existing elements
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 18 Aug 2006 00:29:45 +0100
|
> Can you tell me how to generate the elements in no namespace
> ie, I donot want xmlns="" to appear in the element
> definition in the output xml file.
You're clearly very muddled about namespaces!
If you want the element in no namespace, then the xmlns="" declaration is
needed to achieve that.
If you don't want an xmlns="" declaration, you're saying that you want the
element to be in the same namespace as its parent - so all you have to do is
put it there.
Michael Kay
http://www.saxonica.com/
|