[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] calling an external javascript function
Subject: [xsl] calling an external javascript function From: Juan Carlos Gonzalez <jcgonz@xxxxxxxxx> Date: Wed, 9 Oct 2002 04:43:03 -0700 (PDT) |
Hi: I have a html page that loads a javascript file. Onload of the page I do the xslt transformation. Within my XSL file I try to execute a function from the javascript file previously loaded but for some reason it does not seems to execute it. I have tried different combination of CDATA and scrip tags with no results. This is kind of what I want to accomplish: <xsl:template match="/"> <table> <tr><td> <script>Display("Hello")</script> </td></tr> </table> </xsl:template> The reason I don't create this function within my XSL file using extensions is that I have variables declare in the javascript file that I need to access from here. PS:If I use that function in an onclick event it works fine. Thanks. __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Boolean Fun, David Carlisle | Thread | [xsl] Saxon get starting but cancle, 1alp |
Re: [xsl] fallback, saxon and MSXSL, David Carlisle | Date | Re: Fwd: RE: [xsl] Expected behavio, Trevor Nash |
Month |