OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] what's special in XMLNS attribue .?



thanks;
how can i implement the  "make all elements and attributes belong to
no namespace" ?

thanks again;
yael efrat
yaele@onebox.com - email
(323) 402-1224 x7622 - voicemail/fax



---- Robin Berjon <robin@knowscape.com> wrote:
> 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.
> 
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 

__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com