In this chapter, we built a simple but effective framework to implement XSL in servlets. Although it is primarily intended to provide a clean interface between programmers and designers, the technique offers additional benefits.
If you like the approach but would prefer a more extensive framework, you can turn to the Cocoon project, part of XML Apache at http://xml.apache.org
Finally, this approach is not limited to Java servlets. All you need is an XSL processor in the language of your choice. I can almost hear you inquiring about Perl scripts. Well, it works with XML::XSLT, which is available from http://www.sci.kun.nl/sigma/Persoonlijk/egonw/xslt.