Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

XSLT or JSP?  RSS feed

 
JW Li
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is it a good idea to use XSLT to transform the application content to plain html for UI display to avoid the possible messy JSP code? Is performance (xsl compilation time) going to be a problem? Thanks!
 
Dmitry Kirsanov
Author
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is almost always a good idea. And yes, performance may be a problem, but it's rarely such a big problem as it is sometimes presented. See this thread for a discussion:

http://www.coderanch.com/t/126838/XML/Dmitry-Kirsanov-XSLT-value
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!