Reputation: 105
I have a web application which has several pages, of few are using XSLT stylesheet for rendering webpages. Problem here is that for every request I have to get the XSLt file from file system and then run transformation which is no good for performance. What can be the best solution here in memory tranformation, Is that a good solution ? or some other solution.
Thanks
Upvotes: 0
Views: 228
Reputation: 163458
If you're using the same stylesheet repeatedly you definitely want to compile it once and save the result in memory. The JAXP interface represents a compiled stylesheet as the Templates object; cache this somewhere.
Upvotes: 0
Reputation: 2618
the framwork I know for transformations xml, xslt, html, is apache cocoon.
Upvotes: 0