Configuring the XSLT Processor Extensions Paths
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 for accomplishing a more complex task.
The DocBook extensions for Xalan and Saxon are included in the [OXYGEN_INSTALL_DIR]\frameworks\docbook\xsl\extensions folder.
For more information about how to use extensions, see the following links:
- Xalan - http://xml.apache.org/xalan-j/extensions.html
- Saxon 6.5.5 - http://saxon.sourceforge.net/saxon6.5.5/extensions.html
- Saxon 9.6.0.7 - http://www.saxonica.com/documentation9.5/index.html#!extensibility
To set an XSLT processor extension (a directory or a jar file), use
the Extensions
button in the Edit scenario dialog box.
Note: The old way of
setting an extension (using the parameter
-Dcom.oxygenxml.additional.classpath) was deprecated, and instead you
should use the extension mechanism of the XSLT transformation scenario.