This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: script for netscape



> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]