Take a look at the JAXP API (package javax.xml.transform). This provides methods that allow you to run an XSLT transformation from a Java application. It works with all the main Java XSLT processors including Saxon, Xalan, Oracle.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference