Re: [xsl] what am I doing wrong with except and intersect?

Subject: Re: [xsl] what am I doing wrong with except and intersect?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Sun, 20 Mar 2011 13:05:16 +0000
On 20 March 2011 12:48, Alex Muir <alex.g.muir@xxxxxxxxx> wrote:
> Hi,
>
> I'm confused as to why I'm not able to get intersect and except to
> work with the following node sets.

intersect and except are based on node identity, not value, so the
nodes involved have to be the actual same nodes, eg return the same id
from generate-id()

For value based comparisons, you want $a = $b, not($a = $b), $a[. != $b] etc

-- 
Andrew Welch
http://andrewjwelch.com

Current Thread