Just started looking at XSLT external functions. It could call any external Java/or any other supported programming language class methods and generate the XML/html etc. as the output. Started to wonder would it eventually phase out JSPs ?
Unless you have a version of XSLT that creates a compiled program, JSP should be significantly faster. Also the "bean" handling options for scope = page, request, session and application would be hard to duplicate in XSLT. Bill