Re: [xsl] Wath is the opposite of the union operator?

Subject: Re: [xsl] Wath is the opposite of the union operator?
From: António Mota <amsmota@xxxxxxxxx>
Date: Thu, 22 Sep 2005 01:58:57 +0100
Damn, i was close to it, but i've used the not() without the count()
so i got a error, something like "expression does not evaluate to a
node-set" or something.

I solved my problem with a lot of if and for-each and it's horrible,
i'll use your expression right away.

Thanks for the quick and concise response.

On 9/22/05, David Carlisle <davidc@xxxxxxxxx> wrote:
>
> in xpath2 you use the except operator, in xpath 1
> $x1 except $x2 is
>
> $x1[not(count(.|$x2)=count($x2))]
>
> David
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________

Current Thread