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]

How to call a javascript function in xsl


Hi all,
    I am trying to call a javascript function in xsl.

As you know, one can call a javascript function in the midst of html .
For eg.  if I execute the following code,

<table>
    <tr>
	<td whitespace="nowrap" valign="bottom" align="left" width="130">
		<font face="arial" size="2" color="#FFFFFF">Name</font>
	</td>
     </tr>
</table>

	<script language="javascript>
	displayValues();
	</script>

I will get the result

	Name
	2   (assuming the function returns the value '2')

Similarly,how do I call a javascript function in the midst of html in a XSL
sheet?

Hope I'm clear.
	


 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]