|
Subject: Re: [xsl] Stuck with select distinct From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Wed, 12 Nov 2008 10:05:11 +0000 |
>> In order to exclude Red and Blue, use a predicate:
>>
>> //colour[not(.='Red' or 'Blue')]
>
> Oops: this should of course be
>
> //colour[not(.='Red' or .='Blue')]
Or in 2.0 you can do:
//colour[not(. = ('red', 'green'))]"
or even
//colour except //colour[. = ('red', 'green')]"
--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Stuck with select distinc, Wendell Piez | Thread | [xsl] Stuck with select distinct, Mark Anderson |
| Re: [xsl] Matching using variable o, Michael Ludwig | Date | RE: [xsl] Matching using variable o, V.Ramkumar |
| Month |