[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] Namespaces! Agh!
- From: Nic James Ferrier <nferrier tapsellferrier co uk>
- To: veillard redhat com
- Cc: libxml <xml gnome org>
- Subject: Re: [xml] Namespaces! Agh!
- Date: Sun, 02 Jul 2006 10:23:43 +0100
Daniel Veillard <veillard redhat com> writes:
> 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.
Ah! [scales fall from eyes]
Now I geddit.
Cheers.
--
Nic Ferrier
http://www.tapsellferrier.co.uk for all your tapsell ferrier needs
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]