Getting Xalan to work on R6 Server

Can someone please detail all the steps required to get Xalan 2.5.0 to work with Domino 6? I have tried but i keep getting errors.

Thanks,

Mark