I have recently migrated to Dreamhost and other than it being a little slow, I'm generally happy with it. One of the issues though is xsltproc is not present on their servers. I have a couple pages that are generated via XSLT and I need some method of generating them.
I've tried a couple times to use Cocoon. I really like the basic metaphor of the library, but decoupling it from a web publishing framework is still a problem. I've tried three times now and there's still not an easy method for usinf their pipelining framework from the command line. (Or adaptively initializing it from within code in general.) It's honestly a shame because the basic metaphor is very extensible and has many potential applications outside the realm of serving web content.
Supposedly the upcoming reforctoring may help address this, but in the interim I have a very simple little SAX2's XMLFilter-based program. It's a bit of a kludge because SAX2 has the ability to create XMLFilters from XSLT stylesheets, but there's no way to pass in parameter value. TrAX has a method for passing in parameter values, but the TransformerHandler interface is more difficult to extend than XMLFilter.
TRaX is push-based, operating on a chain of Results whereas XMLFilter chains together a series of XMLReaders that ultimately form a SAXSource. Joining the two is difficult in a compact manner and this particular code relies on the non-futureproof fact that the XMLFilter implementation for XSLT stylesheets is based on the Xalan project's TrAXFilter which provides access to the underlying Transformer for setting paramters.
The program is org.himinbi.util.XSLTTransformer. It takes an input, an arbitrary number of XSLTs and an output filename and chains them together. A compiled version should also be packaged up in XSLTTransformer.jar.