xsl-list
[Top] [All Lists]

Re: Embed JavaScript in XSL

2002-11-19 11:36:06
 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



<Prev in Thread] Current Thread [Next in Thread>