Page is a not externally linkable
httpwebwitch - 1:38 pm on Oct 24, 2011 (gmt 0)
you can make XSLT render a <script> element, and everything in it.
Dont forget to use <![CDATA[ ]]> nodes so your script doesn't get mangled.
Another option is to output those XSL values into some hidden <input> elements, then write your javascript so it executes on pageload (or domready) and reads those values from the DOM. That way will be far less complicated & easier to code up.