[xsl] self:: doesn't select attributes :(

Subject: [xsl] self:: doesn't select attributes :(
From: "Evan Lenz" <elenz@xxxxxxxxxxx>
Date: Tue, 24 Apr 2001 13:01:13 -0700
Anyone else have headaches with not being able to do @*[not(self::xyz:foo or
self::abc:bar)] ?

Anything more elegant than the following two solutions?

@*[not((local-name()='foo' and namespace-uri()='&xyzURI;') or
(local-name()='bar' and namespace-uri()='&barURI;'))]

@*[not(generate-id()=generate-id(../@xyz:foo) or
generate-id()=generate-id(../@abc:bar))]

I'd love to be missing something.

Evan Lenz
XYZFind Corp.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread