This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Exclusion in path
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Exclusion in path
- From: Lee Goddard <LGoddard at VHN dot NET>
- Date: Thu, 5 Oct 2000 09:55:21 +0100
- Reply-To: xsl-list at mulberrytech dot com
Thanks all.
Lee
> -----Original Message-----
> From: Jeni Tennison [mailto:mail@jenitennison.com]
> >Is it possible to use an XPATH in an XSL match
> >to get all nodes that are not FOO?
>
> Ben Robb wrote:
> ><xsl:template match="/ROOT/*[not(name() = 'FOO')]>
>
> Or if you really want all *nodes* (i.e. including
> comments, processing
> instructions and text nodes) that are not the *element* FOO, then:
>
> /ROOT/node()[not(self::FOO)]
>
> Cheers,
> Jeni
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list