Edit online

Saxon XQuery Transformer Plugin Extension

This type of plugin allows you to add the Saxon external XQuery transformer plugin.

The name of the plugin is XQueryTransformer and it makes it easier to contribute your own implementation of the Saxon XQuery Processor. After the plugin is installed, you can create a new XQuery transformation scenario and select your Saxon external XQuery engine from Transformer drop-down menu in the XQuery tab.

To create an XQuery integration project, follow these steps:

  • Copy the oxygen.jar file from [OXYGEN_INSTALL_DIR]/lib to the lib folder of your project.
  • Copy the Saxon jars to the lib folder of your project.
  • Implement the ro.sync.exml.plugin.transform.SaxonXQueryTransformerPluginExtension interface.
  • In the plugin descriptor file, define the <extension> element that points to the implementation of your classes:
    <extension type="XQueryTransformer" class="my.saxon.xquery.plugin.extension"/>

An add-on that implements the Saxon XQuery transformer can be found here: Saxon XSLT and XQuery Transformer Add-on. For more information, see the Oxygen XML SDK Add-on Repositories web page.