[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Namespaces! Agh!
- From: Daniel Veillard <veillard redhat com>
- To: Nic James Ferrier <nferrier tapsellferrier co uk>
- Cc: libxml <xml gnome org>
- Subject: Re: [xml] Namespaces! Agh!
- Date: Sat, 1 Jul 2006 17:51:39 -0400
On Sat, Jul 01, 2006 at 10:35:48PM +0100, Nic James Ferrier wrote:
> Daniel Veillard <veillard redhat com> writes:
>
> > On Sat, Jul 01, 2006 at 08:34:38PM +0100, Nic James Ferrier wrote:
> >
> > Well basically xmlNewChild() create a new node in the parent namespace if
> > no namespace is provided. Try to setNs(None) on the resulting node. Okay the
> > API is a bit weird, but changng it now is likely to break stuff...
>
> Sure. I tried it and it works.
>
> It is a bit wierd that the first arg is a namespace... but it doesn't
> do anything.
well if it is non NULL it overrides the parent one.
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]