RE: Scripting in an XSL Stylesheet...How?

Subject: RE: Scripting in an XSL Stylesheet...How?
From: Leigh Dodds <ldodds@xxxxxxxxxxx>
Date: Thu, 25 May 2000 17:39:45 +0100
> Does the processor understand ECMA script?  Can I script inside an xml
> document?

I'm not sure about the other processors, but Xalan [1] definitely 
understands ECMA script. Check out the following page for 
further details [2].

Essentially you can declare your ECMA/Java script as an extension 
function or element and then access it appropriately. There 
are some examples given at [2].

[1]. http://xml.apache.org/xalan/index.html
[2]. http://xml.apache.org/xalan/extensions.html

Cheers,

L.

-- 
Leigh Dodds, Systems Architect       | "Pluralitas non est ponenda
http://weblogs.userland.com/eclectic |    sine necessitates"
http://www.xml.com/pub/xmldeviant    |     -- William of Ockham


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


Current Thread