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

Subject: Re: [xsl] unable to resolve intersect/union operator
From: Rahil <qamar_rahil@xxxxxxxxxxx>
Date: Thu, 19 May 2005 15:26:26 +0100
David Carlisle wrote:

$interim/A/normalize-space() gives an error. However normalize-space($interim/A)


That's the price you pay for working with a draft specification.


Ah I see. Ill send a request to the Tech team of the Editor Im using for an updated version.


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="2.0">


<xsl:template match="Parts"> <xsl:value-of select="distinct-values( A/Value[for $a in . return /Parts/B/Value[contains(.,$a)]] )" separator=", "/> </xsl:template>

</xsl:stylesheet>



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

Thanks
Rahil

Current Thread