This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
XPath attribute namespace
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] XPath attribute namespace
- From: "David Morris" <dmorris at plumcreek dot com>
- Date: Tue, 07 Aug 2001 12:51:56 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
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