[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: script for netscape
From: Michael Alsen <michael.alsen@xxxxxxxxxxx>
Date: Wed, 18 Jul 2001 11:55:54 +0200

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


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member