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: self axis and attributes


The following seems (to me) a little bit simpler:

//@*[count(//@dem:count| .) != count(//@dem:count)]


Dimitre Novatchev.
------------- Original Message ------------
> Am I missing something? Is there any way of testing the identity of
> namespaced attributes while retaining independence between the source
> and stylesheet and without testing the namespace-uri()?

You're not missing anything, except the self-attribute axis that the
language designers forgot to put in the spec. You just have to test
local-name()="x" and namespace-uri()="y"

Mike Kay



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/


 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]