Re: [xsl] calling javascript function with parameters from xslt

Subject: Re: [xsl] calling javascript function with parameters from xslt
From: "Vladimir Nesterovsky" <vladimir@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Jul 2008 10:12:54 +0300
onclick="javascript:__EmployeeDetails( <xsl:value-of
select="./fldEmployee"/> )">Employee Details</a>

is it possible?is there any otherway(I know xslt can also be in client side) ?

You might want to write:


onclick="javascript:__EmployeeDetails({./fldEmployee})".

This is an attribute value template, permitted in literal elements.
Text in curly braces is xpath.
--
Vladimir Nesterovsky
http://www.nesterovsky-bros.com/


Current Thread