RE: [saxon] Set operations don't work

 RE: [saxon] Set operations don't work From: - 2005-07-19 18:50:02 Set operations are based on node identity, not on node value=2E Document2 contains distinct nodes from Document1 (they might have the same value, bu= t not the same identity), so the intersection will always be empty=2E To do intersection by value, use \$doc1//personne[=2E =3D \$doc2//personne] Michael Kay http://www=2Esaxonica=2Ecom/ =20 Original Message: ----------------- From: abbas slimani abbas=5Fslimani@...=2Efr Date: Tue, 19 Jul 2005 19:34:56 +0200 (CEST) To: saxon-help@...=2Esourceforge=2Enet, abbas=5Fslimani@...=2Efr Subject: [saxon] Set operations don't work Hi, I have written a Xquery query which use the "intersect" operator and I didn't get the rigth result, I got an empty set=2E I have used the following query { let \$i1 =3D document(=91doc1=92)/personnes/personne let \$i2 =3D document(=91doc2=92)/personnes/personne return (\$i1 intersect \$i2) } and two docs : =20 doc 1: peter Mike doc2: Mike John Using your processor, I have gor an empty element : Thanks in advance for your help Abbas =09 =09 =09=09 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger= =20 T=E9l=E9chargez cette version sur http://fr=2Emessenger=2Eyahoo=2Ecom ------------------------------------------------------- SF=2ENet email is sponsored by: Discover Easy Linux Migration Strategies from IBM=2E Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast=2E http://ads=2Eosdn=2Ecom/=3Fad=5Fid=3D7477&alloc=5Fid=3D1649= 2&op=3Dclick =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F saxon-help mailing list saxon-help@...=2Esourceforge=2Enet https://lists=2Esourceforge=2Enet/lists/listinfo/saxon-help -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E