This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

XPath attribute namespace


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]