Hi Philip,

"Fennell, Philip" <[EMAIL PROTECTED]> wrote on 07/31/2006 06:31:52 AM:

> Has anyone had experience of setting-up a Java application, using Batik
> as the SVG renderer, and providing support for invoking XSLT
> transformations using JavaScript?

   I don't have any experience with this, but it should be fairly
simple (assuming the interface to XSLT is fairly simple).  From Rhino
you can import any Java class/interface you want to use.  It's also
fairly simple to bind any Java Object as a global in the Interpreter
(Interpreter.bindObject(String name, Object obj)).

   You might want to check out the docs for Rhino at:

        http://www.mozilla.org/rhino/ScriptingJava.html

> As the main web browsers support XSLT via JavaScript to carry-out
> transformations on XML, either from within the DOM or from XML imported
> via an XMLHTTPRequest, I was wondering how this could be achieved in the
> SVG world using Batik.

 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to