xsl-list
[Top] [All Lists]

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

2010-05-14 09:01:32
On 14/05/2010 14:28, Nic Gibson wrote:
<xsl:template match="eData[(_at_)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. ________________________________________________________________________

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