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: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 18 Jul 2001 10:42:05 +0100
- References: <8345DC4EFAD23A4A8959A2830EFBFD0607EBD9@hico-ads.hico.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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>
If you mean to put javascript into the output so that it runs in the
generated HTML page then you don't need to do anything special. To XSLT
the javascript is just text content of the script element, you'd
generate it with templates in the same way as you'd generate any other
textual content.
xsl:script (in XSL 1.1 draft) and msxsl:script are for something
different: They are for executing javascript within the stylesheet
engine, whilst generating the output, not for placing javascript code in
the output.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list