RE: javascript in xsl

Subject: RE: javascript in xsl
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Tue, 15 Aug 2000 17:00:16 +0100
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@xxxxxxxxx]
> Sent: 15 August 2000 16:41
> To: XSL-List@xxxxxxxxxxxxxxxx
> 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


Current Thread
  • javascript in xsl
    • D. Bennion - Tue, 15 Aug 2000 08:41:08 -0700 (PDT)
      • <Possible follow-ups>
      • Ben Robb - Tue, 15 Aug 2000 17:00:16 +0100 <=