Re: [xsl] intersection puzzle

Subject: Re: [xsl] intersection puzzle
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 6 Apr 2005 11:38:47 +0100
Your node sets are all taken from the same document and you do need (or
at least can use) node identity so probably I'd use something like

<xsl:key name="x" match="square" use="concat(@h,':',@v)"/>
 
<xsl:variable name = "intersection" select = 
"$polo/square[count($marco/square)=count($marco/square|key(concat(@h+1,':',@v)))]"/>

David



________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread