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]

self:: doesn't select attributes :(


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]