[Home] [By Thread] [By Date] [Recent Entries]

  • From: Robin Berjon <robin@k...>
  • To: yael efrat <yaele@o...>, xml-dev@l...
  • Date: Mon, 08 Oct 2001 01:34:40 +0200

On Sunday 07 October 2001 23:11, yael efrat wrote:
> I'm trying to remove XMLNS attribue from this XML :
> <path xmlns="http://schemas.xmlsoap.org/rp/" se:mustUnderstand="1"></path>
>
> The removeNamedItem successeded but the the attribute remained.
> if i'm trying to remove anyother attribute (like the"se:mustUnderstand"
> ) it's removed.
> What is special with this xmlns attribute ,and how can i remove it ?Should
> i do anything else ?

The xmlns attribute isn't removed probably because your serializer needs it 
to declare the namespaces in scope. It is indeed a special attribute, and the 
only way to remove it would probably be to first make all elements and 
attributes belong to no namespace, and then to try to remove it. I'm not sure 
how useful that would be, but it's probably the only way to get there.

-- 
_______________________________________________________________________
Robin Berjon <robin@k...> -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
-----------------------------------------------------------------------
The first myth of management is that it exists.


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member