This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]