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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access