Subject: [xsl] Calling js from xslt From: Juan Carlos Gonzalez <jcgonz@xxxxxxxxx> Date: Tue, 15 Oct 2002 04:15:36 -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. If I create 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] Testing if child node exi, Yates, Danny (ANTS) | Thread | [xsl] Transforming XML to CSV, Ryan . Asleson |
[xsl] Testing if child node exists, Ragulf Pickaxe | Date | RE: [xsl] Testing if child node exi, Stuart Brown |
Month |