This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
self:: doesn't select attributes :(
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] self:: doesn't select attributes :(
- From: "Evan Lenz" <elenz at xyzfind dot com>
- Date: Tue, 24 Apr 2001 13:01:13 -0700
- Reply-To: xsl-list at lists dot mulberrytech dot com
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