Or better, get the JavaScript code working and just spit out '<script
language="JavaScript" src="location_of_script_file.js"></script>' in your
XSLT, so you don't have to worry about encapsulating the JavaScript code in
CDATA sections or the like.
- Theo
-----Original Message-----
From: Joerg Heinicke [mailto:joerg(_dot_)heinicke(_at_)gmx(_dot_)de]
Sent: Tuesday, October 01, 2002 1:10 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Is It Possible to use JavaScript in XSLT to get an
inframe'scurr ent location, then display it in the main screen ?
Kong, Yan wrote:
Anyone knows how to use JavaScript in XSLT to get an inframe's current
(updated) location (URL), then display it in the current main screen?
Thanks,
Yan
What has the Javascript to do with the XSLT? As you describe it, the
Javascript is executed in the HTML output. So you must differ between the
XSLT and the output of XSLT !! If it helps, you shell test your Javascript
in a static HTML file and if the test was successful, copy this code to the
XSLT.
Regards,
Joerg
--
System Development
VIRBUS AG
Fon +49(0)341-979-7419
Fax +49(0)341-979-7409
joerg(_dot_)heinicke(_at_)virbus(_dot_)de
www.virbus.de
VIRBUS hat jetzt als erster deutscher Softwarehersteller die
Zertifizierung für den 3D Secure-Authentifizierungsstandard "Verified by
Visa" erhalten.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list