How to call JS function in .xsl file?

Li Jiefeng jieli at cs.umbc.edu
Tue Nov 3 02:23:26 GMT 1998


Hello,
	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.

	Thx 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



xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list