xsl-list
[Top] [All Lists]

Re: [xsl] XSLT 2.0 in a web browser

2008-03-26 01:19:15
 >  Of course if there was a java applet version of Saxon it would be a snap.

 I don't think so. You would need to call the applet from the C++
 class. It would seem more sensible to me to call the Saxon API
 directly via JNI.

No, I figure you could do it via a hack. XSL-T 1.0 stylesheet writes
out html page with embedded Saxon, passes via parameters to applet the
location of the  current xml (have to be able to run JavaScript in the
generated html to get the current location - I suppose this works in
Transformiix but I could be wrong, just going off on how location.href
is returned in IE when used in a script written by a Stylesheet ), as
well as location of the 2.0 stylesheet. Doable by having two
processing instructions, a fallback would be the 2.0 stylesheet.

I thought about this about 6 months ago but because there wasn't a
Saxon applet anymore I figured it wasn't worth experimenting on.
Actually IIRC Brett Zamir XSL Results firefox extension supports XSL-T
2.0 (with Saxon installed) This was another reason why I didn't see
any point in going on with the Applet hack, I figured it made sense to
(when I got the time which will probably be like never) to work on top
of what was already provided.

Cheers,
Bryan Rasmussen

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>