Subject: Re: Writing extension functions (& elements)
From: Alexey Gokhberg <alexei@xxxxxxxxxx>
Date: Wed, 31 Jan 2001 14:08:19 +0100
|
Jeni Tennison wrote:
>
> Eugene's absolutely right, of course, although I can't see any way in
> Unicorn XSLT to include Javascript *in the stylesheet itself* - I
> think you have to import a script using obj:import (obj being bound to
> http://www.unicorn-enterprises.com/XSLT/Extensions/ECMAScript/1.0) and
> then can call a function in that script either with function syntax like
> obj:call(object, function, arguments*) or with element syntax. I'd be
> pleased to be corrected - this is just what I've gathered from a quick
> read of the documentation.
>
You are right.
In Unicorn XSLT, scripts implementing extensions cannot be embedded into
stylesheets.
Our specification enforces separation of code implementing extension
objects, from XSLT stylesheets using properties and methods of these
objects.
Kind regards,
Alexey Gokhberg
Unicorn XML Toolkit
http://www.unicorn-enterprises.com/#products_xmlkit
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE:
- shantanu - Thu, 18 Jan 2001 01:39:15 -0500 (EST)
- <Possible follow-ups>
- frank Stein - Mon, 29 Jan 2001 02:53:19 -0500 (EST)
- Kaganovich, Yevgeniy (Eugene) - Mon, 29 Jan 2001 18:11:40 -0500 (EST)
- Jeni Tennison - Wed, 31 Jan 2001 06:41:10 -0500 (EST)
- Alexey Gokhberg - Wed, 31 Jan 2001 07:58:37 -0500 (EST) <=
- RSuiter - Wed, 31 Jan 2001 10:38:49 -0500 (EST)
|
|