What we will cover in this chapter
In this chapter, we will develop a TrAX application to convert an XML document to an HTML document using an XSLT stylesheet. An XSLT stylesheet may need to call Java classes and class methods for functionality not available in standard XSLT functions. Java class methods can be invoked in an XSLT stylesheet using the XSLT extension functions. The Java methods accessed in an XSLT stylesheet may be static methods or non-static methods. In this chapter, we will discuss procedures that configure XSLT extension functions in an XSLT stylesheet. To demonstrate the application of the XSLT extension functions, we shall parse and modify an example XML document.