<oXygen/> User Guide

Configuring the extension paths for transformer processors.

Both the Xalan and Saxon processors support the use of extension elements and extension functions. Unlike a literal result element, which the stylesheet simply transfers to the result tree, an extension element performs an action. The extension is usually used because the xslt stylesheet fails in providing adequate functions to the user for accomplishing a more complex task.

Samples on how to use extensions can be found at:

The following needs to be accomplished in order for the transformer to find and use succesfully the Java extension classes:

Example of setting two directories called "test1" and "test2" located in the <oXygen/> root directory as extension paths (containing the extension classes or jars):

After the parameter is set, Java classes and jars from the extension paths are dinamically loaded and can be used by the transformer processors with no extra setting.