Subject: Re: XPath attribute namespace
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Tue, 7 Aug 2001 12:34:14 -0700 (PDT)
|
David Morris wrote:
> Group,
>
> I don't understand why the XPath spec says:
>
> "the namespace axis contains the namespace nodes of the context node; the axis
> will be empty unless the context node is an element"
>
> How do you get to the namespace for an attribute node?
Use the namespace-uri() function.
Cheers,
Dimitre Novatchev.
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|