xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: how to call Javascript function in .xsl file

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
> 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
Get your free @... address at http://mail.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor