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: javascript in xsl


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

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