RE: [xsl] Attributes, attribute nodes & namespaces

Subject: RE: [xsl] Attributes, attribute nodes & namespaces
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 4 Jul 2001 09:21:27 +0100
> If an attribute node can have a QName and an expanded-name
> why does (or so it
> seems to me) an XPath attribute node not have a namespace
> node to correspond to the namespace?

If a namespace is in scope for an attribute then it is also in scope for the
containing element. So having namespace nodes attached to attributes would
give no extra information, and would cause a further escalation in the
number of namespace nodes in the document.

Mike Kay
Software AG

 XSL-List info and archive:

Current Thread