[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] XSLT 2.0 in a web browser
Subject: Re: [xsl] XSLT 2.0 in a web browser From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx> Date: Wed, 26 Mar 2008 09:18:47 +0100 |
> > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT 2.0 in a web browser, Colin Adams | Thread | [xsl] Sibling axis: All of kind A u, Michael Ludwig |
Re: [xsl] XSLT 2.0 in a web browser, Colin Adams | Date | Re: [xsl] XPath 2.0 Best Practice: , Florent Georges |
Month |