This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Scripting in an XSL Stylesheet...How?
- To: xsl-list at mulberrytech dot com
- Subject: RE: Scripting in an XSL Stylesheet...How?
- From: Leigh Dodds <ldodds at ingenta dot com>
- Date: Thu, 25 May 2000 17:39:45 +0100
- MMDF-Warning: Parse error in original version of preceding line at ss1.bath.ac.uk
- MMDF-Warning: Parse error in original version of preceding line at ss1.bath.ac.uk
- Reply-To: xsl-list at mulberrytech dot com
> 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