Re: [xsl] unable to resolve intersect/union operator

Subject: Re: [xsl] unable to resolve intersect/union operator
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 19 May 2005 15:34:27 +0100
  > A/Value[for $a in . return /Parts/B/Value[contains(.,$a)]]


  What does $a contain ? Is it the all the A/Value which appear as the 
  child of A or something else?


No it just contains the single node . which is the current Value node

for $a in . return something

is the XPath spelling of the Xquery expression

let $a := . return something

or the XSLT code

<xsl:variable name="a" select="."/>
<xsl:sequence select="something"/>


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