Re: [xsl] Embed JavaScript in XSL

Subject: Re: [xsl] Embed JavaScript in XSL
From: Charlene Mo <cmo@xxxxxxxxxx>
Date: Tue, 19 Nov 2002 14:36:12 -0500
That is the only logic way I can think of due to the limitation of my knowledge about XML. How do you implement it in XSLT? Examples? I only have access to *.xsl files.

Thanks,

Charlene
At 06:36 PM 11/19/2002 +0000, you wrote:
 I need to embed a
 javascript function that takes one parameter in XSL and use it in either
 xsl:if or xsl:when.

There is no standard way in XSLT to use javascript within the
stylesheet. Some processors have extension elements that allow that
but you'd need to say what processor you were using. Also, Are you sure
you need to encode the functionality in javascript and can not directly
program it in XSLT?

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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

************************************************



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



Current Thread