[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Extension functions in XT (was Re: HTML forms with XSLT
> LotusXSL (www.alphaworks.ibm.com) also supports JavaScript, though I don't > know how. The included documentation page called "Extensibility > Architecture" gives examples using both Java and JavaScript. > Lotus uses the Rhino package from Mozilla. http://www.mozilla.org/rhino/index.html Rhino is an excellent package, it can even compile the Javascript to Java byte codes on the fly. I'm building a system that integrates XT and Rhino, but I'm doing it with a non-standard mechanism to address my specific needs. To implement it right the XT servlet clones an instance per thread and Rhino doesn't support cloning so there is no real simple solution. There are ways around the need for cloning Rhino but they are complicated. Lotus XSL avoided this problem by always interpreting the Java Script. Therefore there is no state for Rhino to hold and no need to clone. But this solution is too slow for a production servlet. Jon Smirl jonsmirl@xxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|