XSLT Compilers

One drawback to XLST stylesheets is performance. An XLST processor, such as XALAN, must read in the stylesheet and build an internal structure representing the rules that must be applied. The processor must then read in the XML document and match each element to the rules defined in the stylesheet and generate the required output. All of this takes time.

One way to improve performance is to preprocess the stylesheet to create a custom program that will apply the one stylesheet to an XML document in an efficient manner.

Such a technology is called an XSLT compiler. This is a fast changing area of XSL technology, but the original XSLT compiler, called xsltc, developed by Sun Microsystems is now developed and maintained by the Apache ...

Get Sams Teach Yourself J2EE™ in 21 Days 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.