|
Subject: RE: Exclusion in path From: Lee Goddard <LGoddard@xxxxxxx> Date: Thu, 5 Oct 2000 09:55:21 +0100 |
Thanks all.
Lee
> -----Original Message-----
> From: Jeni Tennison [mailto:mail@xxxxxxxxxxxxxxxx]
> >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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Exclusion in path, Kay Michael | Thread | re: xsl stylesheet for shares table, Kevin Byrne |
| Re: indent XML doc based on spaces?, mnaughto | Date | re: Xalan & SAX parsers, Kevin Byrne |
| Month |