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]

RE: Attributes, attribute nodes & namespaces


> 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:  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]