[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Usage of key inside a for loop of a RTF does not work properly


Subject: Re: [xsl] Usage of key inside a for loop of a RTF does not work properly
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 5 Jan 2005 10:15:11 GMT

select="key('professionlevelkey','$referid')">

You have used the string '$referid' as the key value. You probably have
no key with that value. If you want the value of the variable referid
then you want $referid not '$referid'. Although if that is the only
place you use that variable, which seems likely then you don't need a
variable at all, you could just use @levelref

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
________________________________________________________________________


Current Thread