Re: [xml] xmlSearchNsByHref

Date view Thread view Subject view Author view

From: Bjorn Reese (breese@mail1.stofanet.dk)
Date: Sun Nov 19 2000 - 04:58:41 EST


Daniel Veillard wrote:
>
> On Sat, Nov 18, 2000 at 06:22:37PM +0000, Bjorn Reese wrote:

> > Will node->ns contain the default namespace, if no other namespace is
> > declared for that node?
>
> if there is a default namespace in effect, yes, it should.
> In the case you sent there is no xmlns="xxx" in scope so you will
> get <second>'s node->ns == NULL. Same for the reoot element.

Excellent. Thanks.

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Nov 19 2000 - 05:43:35 EST