xsl-list
[Top] [All Lists]

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

2011-03-20 08:05:25
On 20 March 2011 12:48, Alex Muir 
<alex(_dot_)g(_dot_)muir(_at_)gmail(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--