[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: what's special in XMLNS attribue .?

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

remove xmlns
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.


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.