[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: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Mon, 3 Nov 2008 06:04:09 -0800
Re:  intersect on xpath ver 1.0
This result (named the Kayessian method of node-set intersection after
Dr. Kay, who first pointed out to it) is at least 7 years old:

   $ns1[count(. | $ns2) = count($ns2)]

is the nodeset containing all nodes that are both in the node-set $ns1
and in the node-set $ns2.

Dimitre Novatchev
Truly great madness cannot be achieved without significant intelligence.
To invent, you need a good imagination and a pile of junk
Never fight an inanimate object
You've achieved success in your field when you don't know whether what
you're doing is work or play

On Mon, Nov 3, 2008 at 5:38 AM, Maria Jonas <makt@xxxxxxxxxxxxxx> wrote:
> 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.