I thought it might be a good idea to start the code samples page with the code for the site. So here is a copy of the XSL stylesheet used, with a sample XML source file:
Note: This site is in continuous flux at the moment, so the files above may be a little out of date. If I remember, I shall update them when this whole thing is a little more stable.
A number of good XML tools exist. Some of these I have listed under the links/apache section on my links page. For this site, however, I have explicitly used the JAXP 1.1 API, which is available for download from http://java.sun.com/xml.
The JAXP download includes both the Apache XML parser (Crimson) and the Apache XSLT engine (Xalan). To run the XSL Transformation stylesheet, I simply used the code from the SimpleTransform example.