how to call Javascript function in .xsl file

Subject: how to call Javascript function in .xsl file
From: Li Jiefeng <jieli@xxxxxxxxxxx>
Date: Wed, 4 Nov 1998 12:55:36 -0500 (EST)
Hi,

        I am wondering how to call a JavaScript function in .xsl file.

        For instance,
        <SCRIPT LANGUAGE="JSCRIPT"><![CDATA[

                function abc(x)
                {
                        document.writeln(" ... ");
                }
        ]]>
        </SCRIPT>

        ...

        I tried
                abc(x);
                <eval>abc(x)</eval>
                "=abc(x)"
        but all failed.

	Thank you for your help.	
 
Jiefeng
---------------------------------------------------------------------
                      Jiefeng Li, CSEE, UMBC
         (410)455-2837(L), (410)455-3094(O), (410)242-9610(H) 
		    http://www.cs.umbc.edu/~jieli



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


Current Thread