Subject: Re: how to call Javascript function in .xsl file
From: Toivo Lainevool <tlainevool@xxxxxxxxx>
Date: Fri, 6 Nov 1998 07:35:00 -0800 (PST)
|
---Paul Prescod <papresco@xxxxxxxxxxxxxxxx> wrote:
>
> Li Jiefeng wrote:
> >
> > Hi,
> >
> > I am wondering how to call a JavaScript function in .xsl
file.
>
> XSL does not currently support JavaScript. See
>
> http://www.w3.org/TR/WD-xsl
>
> for more information.
>
> If you are outputting HTML, and want to add in JavaScript code to the
> output, I would suggest you do that through a post-process.
>
> Paul Prescod - http://itrc.uwaterloo.ca/~papresco
I was reading the docs on Microsofts IE5 Beta, and it look like they
still support scripting in their implementation of XSL.
They have introduced a new element called <xsl:eval>, that does the
same thing that <eval> used to do in their old msxsl processor. I
have not tried it out, but I assume that would do the trick.
Interestingly the docs don't mention that this is not a standard XSL
element. What are the chances of this becoming part of the standard?
See: http://www.microsoft.com/workshop/xml/xsl/reference/xsl_eval.asp
Toivo Lainevool
Infrastructure Specialist
ObjectSpace: The Enterprise Java Solutions Company
http://www.objectspace.com
mailto:tlainevool@xxxxxxxxxxxxxx
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|