Subject: Re: intersect on xpath ver 1.0
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 3 Nov 2008 14:00:35 GMT
|
> I wonder if you have references to practical examples of making an intersect set operation with xpath ver 1.0
if $a and $b are two node sets then
$a[count(.|$b)=count($b)]
is the intersection of $a and $b, that is
$a intersect $b
in xpath2.
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
|