Hello Eduard,

I have an Servlet Filter that does the transformation and caches the XML
output.

Neither the client-side XSLT transformation or the size of xsltorms.js
seems to be a significant loading speed issue in modern browsers,
particularly that once the transform is done then everything is happening
client-side, so it is a truely RESTful solution and gives the user great
responsiveness.

The main problem is for phones that don't support XSLT in their browser,
also that its just un-necessary to have to repeat the XSLT transform each
time a browser loads the same XForms form.

If you are using eXist-db (in Tomcat) there are better solutions, I've now
found it has a cache module, but to just get an XSLT transform is a one
liner apparently.

If this Filter is of interest, contact me off list and I will provide it. I
did send the code to the list previously, but I have some small
improvements to suggest.


Steve C



On Fri, Aug 1, 2014 at 6:15 AM, William Velasquez <
[email protected]> wrote:

>  Hi Eduard,
>
>
>
> If you want to speed-up the transformation process, you could manually
> transform your XForms files using xsltforms.xsl and store the results as
> static files on server, and keep the xsltforms folder available under the
> folder you store the static files.
>
>
>
> You can do it with almost any XSLT processor, but Saxon is recommendable.
> And works for any webserver capable of serving static files.
>
>
>
> This could be useful if your XForms don’t change too often and are not
> dynamically generated.
>
>
>
> Hope this helps,
>
>
>
> -          Bill
>
>
>
>
>
> *De:* Eduard Tarassov [mailto:[email protected]]
> *Enviado el:* jueves, 31 de julio de 2014 7:45 a. m.
> *Para:* [email protected]
> *Asunto:* [Xsltforms-support] XSLTForms on Tomcat
>
>
>
> Hello Sir/Madam,
>
>
>
> I really like your project. It is impressive. But, unfortunately, so far I
> am having some problems. I have perfectly launched your client side xforms
> to xml transformations, but also I want to make the same on the server-side
> level. Especially on the Tomcat.
>
> Is it possible to run XSLT transformation from XFORMS by using just Jersey
> class and Tomcat server in Eclipse?
>
> I did that perfectly with xml to xul transformation, but your javascript
> file to operate on transform is so huge (as well as xsl file). Is it really
> the only way to complete client-side XSLT transformation with XFORMS? Or
> there is also a way to build it with java?
>
> I've seen your suggestions about using the ASP.net, HTTP server or eXist
> db. But I think they do not suit me.
>
>
>
> Thank you very much for your help. I will very appreciate you!
>
>
>
> With best regards,
>
> Eduard Tarassov
>
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
> _______________________________________________
> Xsltforms-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>
>
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to