Subject: RE: Finiding nodes filtered by attribute
From: "Ben Robb" <Ben@xxxxxxxxxx>
Date: Fri, 8 Nov 2002 14:48:45 -0000
|
For anywhere in the document:
1)How would I do a match to find all <td> tags that don't have an attribute named class?
[BR] "//td[not(@class)]"
?2)How would I do a match to find all <td> tags that don't have a class attribute equal to "a" or have no class attribute at all?
[BR] "//td[not(@class) or not(@class = 'a')]"
3)How would I do a math on all <td> tags that don't have any attributes?
[BR] "//td[not(@*)]"
Rgs,
Ben
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|