[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: intersect on xpath ver 1.0

Subject: RE: intersect on xpath ver 1.0
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 3 Nov 2008 14:06:33 -0000
RE:  intersect on xpath ver 1.0
First, can you describe more precisely what you mean by an "intersect set"
operation? I take it your inputs are node-sets, but are you comparing nodes
by identity or by value?

A number of products have extension functions for doing node-set
intersection (by node identity), but there's also a way it can be done in
standard XPath 1.0 (but maybe very inefficiently):


On the other hand, a value-based intersection can be done as


Michael Kay

> -----Original Message-----
> From: Maria Jonas [mailto:makt@xxxxxxxxxxxxxx] 
> Sent: 03 November 2008 13:39
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  intersect on xpath ver 1.0
> I wonder if you have references to practical examples of 
> making an intersect set operation with xpath ver 1.0
> I read theory about this but I have problems in practice.
> All the best

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.