xsl-list
[Top] [All Lists]

Re: unable to resolve intersect/union operator

2005-05-19 07:26:26


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


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