Re: [xml] Fwd: Determing element namespace prefix



Hi,

Daniel is right. I find that namespace is set to null when the prefix is not present and my previous statement wasn't quite correct.

Thanks to everyone that helped!

- Aki

On 1/8/07, Daniel Veillard <veillard redhat com> wrote:

  In the first case the namespace for MyElement is NULL at the C level
(assuming your example is the complete document, for a fragment a default
namespace may change this).

Daniel


--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
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]