This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: self axis and attributes
- To: XSL-LIST <xsl-list at mulberrytech dot com>
- Subject: RE: self axis and attributes
- From: Dimitre Novatchev <dnovatchev at yahoo dot com>
- Date: Wed, 22 Nov 2000 03:19:55 -0800 (PST)
- Reply-To: xsl-list at mulberrytech dot com
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