[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] what's special in XMLNS attribue .?
- From: Robin Berjon <robin@knowscape.com>
- To: yael efrat <yaele@onebox.com>, xml-dev@lists.xml.org
- 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@knowscape.com> -- 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.