[xsl] XPath attribute namespace

Subject: [xsl] XPath attribute namespace
From: "David Morris" <dmorris@xxxxxxxxxxxxx>
Date: Tue, 07 Aug 2001 12:51:56 -0600
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? For example <url xmlns:xlink="http://www.w3.org/1999/xlink"; xlink:href="www.xxx.com">. It seems like the namespace in this case is associated with the attribute and not the element. How should I interpret this?

Thanks,

David Morris


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


Current Thread