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: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Wed, 05 Jan 2005 08:35:55 +0100
Could you send the XSL?

Cheers

I have defined key at the beginning of the stylesheet.
I am using $leverreference inside a named template.

-Ranjan
--- Geert Josten <Geert.Josten@xxxxxxxxxxx> wrote:


Hmmm, in that case you will have to give some more
XSL. Preferably the parts where you define the xsl:key and where you define $leverreference..


Cheers

Ranjan K. Baisak wrote:


Sorry for typo actually I am using $referid not
'$referid'.

-Ranjan
--- Geert Josten <Geert.Josten@xxxxxxxxxxx> wrote:



		<xsl:for-each
select="key('professionlevelkey','$referid')">

You have quoted your variable reference, turning

it


into a string literal. Use $referid instead of '$referid'...

Cheers







__________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced

search. Learn more.


http://info.mail.yahoo.com/mail_250




-- Geert.Josten@xxxxxxxxxxx IT-consultant at Daidalos BV, Zoetermeer (NL)

http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464

GPG: 1024D/12DEBB50







__________________________________ Do you Yahoo!? The all-new My Yahoo! - What will yours do?
http://my.yahoo.com





-- Geert.Josten@xxxxxxxxxxx IT-consultant at Daidalos BV, Zoetermeer (NL)

http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464

GPG: 1024D/12DEBB50

Current Thread