views:

173

answers:

1

I have a javascript file.

how can i reference that file from within XSLT.

+3  A: 
<script type="text/javascript" src="yourfile.js"></script>

however if you are finding that it is self closing you need to add a space in like this

<script type="text/javascript" src="yourfile.js">&#160;</script>
Josh
+1 psychic debugging
Greg Hewgill