Interfacing to XSLT Java APIs

All Java-based XSLT processors define an extensive interface—an API—to connect to Java. Typically, you use the API to create Java objects and call methods, as you’ll see in this chapter. However, all XSLT processors define their APIs differently, and they’re usually extensive, because each processor is free to create its own class and method hierarchies.

In the following sections, I work through the process of creating XSLT transformations from Java with Xalan, Saxon, XT, and the Oracle XSLT processor.

You should refer to the documentation that comes with these processors to see what other kinds of capabilities are available. Note that the APIs of most of these processors could themselves fill a book, so the discussion ...

Get Inside XSLT 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.