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
|