This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Javascript invokation in XSL


shouldn't it be:


<![CDATA[
<SCRIPT LANGUAGE="JavaScript">
function Test()
{
[.....code....]
}
</SCRIPT>
]]>

I assume you are trying to get this code to run on the client, right?



> From: Samir Narendra Sardar <ssardar@ecomserver.com>
> Reply-To: xsl-list@mulberrytech.com
> Date: Tue, 06 Jun 2000 10:58:20 -0400
> To: XSL-List@mulberrytech.com
> Subject: Javascript invokation in XSL
> 
> Hi...
> I was surfing the XSL lists and I am having the same problem what u
> guys
> have about the Javascript as how to call a javascript function from XSL.
> 
> <SCRIPT LANGUAGE="JavaScript"><![CDATA[
> function Test()
> {
> [.....code....]
> }
> ]]></SCRIPT>
> 
> Can u please tell me how to write a invoking function in XSL?
> 
> javascript:Test(<xsl:value-of select="//SOMETHING"/>)
> 
> Thanks in advance.
> 
> Regards,
> Samir Narendra Sardar.
> 
> 
> 
> 
> 
> XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]