Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - call javascript function in xsl >Thread Next - Re: call javascript function in xsl Re: call javascript function in xslTo: NULL Date: 2/4/2005 3:12:00 PM Do you mean extension functions for XSL ? Or more likely did you mean javascript embedded in HTML documents ? In case 2, I would just add at the top of the stylesheet, in the HTML <head></head> tags, <script src="http://path/to/your/javascript-file.js" language="javascript1.2" type="text/javascript"></script> And then host your javascript-file.js in an appropriate place on your server ;-) Cheers - Neil On Thu, 3 Feb 2005 09:29:01 -0800, brian_harris <brian_harris@d...> wrote: >I have an application that has several XSL style sheets. In the style sheets >I am using the xsl:select tag to define javascript functions. At this time I >have duplicated many of the same javascript functions in seperate style >sheets, as per book examples. But I now would like to have only 1 definition >of the functions and include it into each style sheet. I would like to know >if there is a way to do this. The main reason I want to do this is that in >one of these functions I have found a bug which will need to be fixed in each >XSL, so for future portability I would like to have these functions only >programmed once. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
