performance implications of extending theme.xsl?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

performance implications of extending theme.xsl?

Adrian Baker-2
Was the motivation for rewriting the initial XForms to XHTML stage in
Java over XSLT performance?

If so, are there any performance implications if I start to push too
much logic into theme.xsl? If this is a valid concern, perhaps the
XFormsToXHTML processor could be opened up to allow custom handlers to
be registered, so changes could be made in Java instead of XSLT?

Adrian



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: performance implications of extending theme.xsl?

Erik Bruchez
Administrator
Adrian Baker wrote:
> Was the motivation for rewriting the initial XForms to XHTML stage in
> Java over XSLT performance?

Yes.

> If so, are there any performance implications if I start to push too
> much logic into theme.xsl? If this is a valid concern, perhaps the
> XFormsToXHTML processor could be opened up to allow custom handlers to
> be registered, so changes could be made in Java instead of XSLT?

Anything you do can have performance implications ;-)

But yes, depending on what you write in an XSLT stylesheet, you may kill
performance - or not. The only way to know is to run the stylesheet and
measure performance.

This said, I cannot answer your question about "handlers", as I don't
know what you are trying to achieve. If you give me a specific use case,
  then I may be able to comment.

-Erik




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws