O'Reilly logo

Effective XML: 50 Specific Ways to Improve Your XML by Elliotte Rusty Harold

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Servlet-Based Solutions

If a servlet engine such as Tomcat or Jetty is already running on the web server, the simplest way to add XSLT support is by using one of the prewritten servlets. The downside to this is that you can't always easily map existing URLs and documents into such a system, but this approach does let you put up new content in new directories very quickly.

Saxon

Michael Kay's Saxon includes a simple servlet in its samples directory that performs basic transformations. This isn't really intended as a full-blown, server-side transformation engine—just a little code to show you how to roll your own. Still it's impressively small and should work well with any servlet container such as Tomcat or JRun. Once you've installed this servlet ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required