TrAX
TrAX, the Transformations API for XML, is a Java API for performing XSLT transforms. It is sufficiently parser independent that it can work with many different XSLT processors, including Xalan and Saxon. It is sufficiently model independent that it can transform to and from XML streams, SAX event sequences, and DOM and JDOM trees.
TrAX is a standard part of JAXP and bundled with Java 1.4 and later. Furthermore, most current XSLT processors written in Java support TrAX, including Xalan-J 2.x, jd.xslt, LotusXSL, and Saxon. The specific implementation included with Java 1.4 is Xalan-J 2.2D10.
Note
Annoyingly, the Xalan-J classes included in Java 1.4 are zipped into the rt.jar archive, so it's hard to replace them with a less buggy release version ...
Get Processing XML with Java™: A Guide to SAX, DOM, JDOM, JAXP, and TrAX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.