Re: [xml] Fwd: Determing element namespace prefix


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).


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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