Subject: RE: Finiding nodes filtered by attribute
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 8 Nov 2002 15:52:58 -0000
|
> ?
> 1)How would I do a match to find all <td> tags that don't
> have an attribute named class?
match="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?
match="td[not(@class='a')]"
> ?
> 3)How would I do a math on all <td> tags that don't have any
> attributes?
> ?
match="td[not(@*)]"
Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|