[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

calling an external javascript function

Subject: calling an external javascript function
From: Juan Carlos Gonzalez <jcgonz@xxxxxxxxx>
Date: Wed, 9 Oct 2002 04:43:03 -0700 (PDT)
external javascript function
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.