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]

RE: Exclusion in path


> Is it possible to use an XPATH in an XSL match
> to get all nodes that are not FOO?
> 
> <xsl:template match="/ROOT/not('FOO')>

The kind of thing you are looking for is:

match="root/*[not(self::FOO)]"


 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]