This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: script for netscape
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] script for netscape
- From: Michael Alsen <michael dot alsen at cyberlab dot de>
- Date: Wed, 18 Jul 2001 11:55:54 +0200
- Organization: CYBERLAB GmbH
- References: <8345DC4EFAD23A4A8959A2830EFBFD0607EBD9@hico-ads.hico.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Roman Huditsch schrieb:
> Good morning everybody!
>
> I have to create a dynamic Javascript within my XSL-Stylesheet, which
> can be executed both by IE and Netscape. I thought that it would work
> with <xsl:script> but unfortunately it doesn't, because it's not allowed
> in the namespace "http://www.w3.org/1999/XSL/Transform".
> I know that there is the possibility to write it hardcoded, but I will
> have to make use of multiple <xsl-value-of>s and <xsl-variable>s within
> the script.
> Can you please give my some advice?
>
<script language="JavaScript" type="text/javascript">
<![CDATA[
var varible =
]]>
<xsl-value-of>
<![CDATA[
;
alert(variable);
]]>
</script>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list