Accessing Java* objects from inside portable XSLT stylesheets (without XSLT processor specific extensions)
Original Publication Date: 2003-Mar-25
Included in the Prior Art Database: 2003-Mar-25
Currently there is no standardized way to access Java* objects from inside an XSL transformation. Many XSLT processors like Xalan offer a way to invoke Java* methods, but there is no standard available, which would work with any XSLT processor. Thus stylesheet designers currently must write none portable XSLT stylesheets to access Java* objects in their XSL transformations. The method described here uses only the Java* API for XML Processing (JAXP) 1.1 standard features to invoke the stylesheet and JDK 1.4 features to retrieve the Java* objects. It allows to write XSLT stylesheets that are portable, because they do not need to use XSLT processor specific extensions.