Re: [xsl] xsl:key, predicates and documents.

Subject: Re: [xsl] xsl:key, predicates and documents.
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 14 May 2010 15:01:04 +0100
On 14/05/2010 14:28, Nic Gibson wrote:
<xsl:template match="eData[@PERS='n']">
     <xsl:variable name="exact" select="key('term-key', @HW)"/>
     ...


are your edata and e elements in the same file?
The above will look for e elements with the same PER[s] and HW attributes as the current eData element, in the same file.
I got the impression from the earlier description that you had two files involved.


David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread