RE: self axis and attributes

Subject: RE: self axis and attributes
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Wed, 22 Nov 2000 03:19:55 -0800 (PST)
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.

 XSL-List info and archive:

Current Thread