Re: Question: Should namespace::* return anything?

Subject: Re: Question: Should namespace::* return anything?
From: Ray Waldin <rwaldin@xxxxxxxxxxx>
Date: Fri, 17 Dec 1999 11:53:45 -0800
Khun Yee Fung wrote:
> How about namespace::*? Is it the same as namespace::node() or the result is
> always an empty nodeset?

My understanding is that namespace::* returns an empty node-set for all context
nodes except when the context node is an element.  For element nodes it should
always return a node-set with at least one namespace node, the node representing
the "built-in" namespace (prefix="xml",
uri="http://www.w3.org/XML/1998/namespace";), plus a node for each namespace
that's been declared in the element itself or any of it's ancestors.

-Ray


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread