xsl-list
[Top] [All Lists]

Re: unable to resolve intersect/union operator

2005-05-19 07:34:27

  > 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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--