This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: javascript in xsl
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: javascript in xsl
- From: Ben Robb <Ben at cscape dot com>
- Date: Tue, 15 Aug 2000 17:00:16 +0100
- Reply-To: xsl-list at mulberrytech dot com
It depends what you mean by "include js functionality". If you want to add
some client side scripting (for mouseovers and the like), then wrap it in a
CDATA block, and it should all work.
e.g.
<script language="JavaScript">
<![CDATA[
// javascript in here...
]]>
</script>
If, on the other hand, you want to use javascript to influence the output of
an XSLT processor at runtime, then you will have to use parser specific
extensions (where available). However, I can't really think of any possible
reason for using scripting languages within a stylesheet in this way.
Ben
> -----Original Message-----
> From: D. Bennion [mailto:bennion3@yahoo.com]
> Sent: 15 August 2000 16:41
> To: XSL-List@mulberrytech.com
> Subject: javascript in xsl
>
>
> I need to include javascript functionality into my
> xsl. Does anyone know of a way to do this?
>
> Thanks in advance.
>
>
> Dave
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Mail – Free email you can access from anywhere!
> http://mail.yahoo.com/
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list