You can configure and run XSLT and XQuery transformations with processors other than the ones which come with the
Oxygen XML Editor plugin
distribution. Such
an external engine can be used in the Editor perspective and is available in the list of
engines in the dialog for editing a
transformation scenario. However it cannot be
used in the Debugger
perspective.
The Custom Engines preferences panel is opened from menu .
The following parameters can be configured for a custom engine:
Parameters of a Custom Engine
- Engine type - Combo box allowing you to choose the transformer
type. There are two options: XSLT engines and XQuery engines.
- Name - The name of the transformer displayed in the dialog for
editing transformation scenarios
- Description - A textual description of the transformer.
- Output Encoding - The encoding of the transformer output
stream.
- Error Encoding - The encoding of the transformer error stream.
- Working directory - The start directory of the transformer
executable program. The following editor variables are available for making the path to the
working directory independent of the location of the input files:
- ${homeDir} - The user home directory in the operating
system.
- ${cfd} - The path to the directory of the current file.
- ${pd} - The path to the directory of the current project.
- ${oxygenInstallDir} - The
Oxygen XML Editor plugin
install
directory.
- Command line - The command line that must be executed by
Oxygen XML Editor plugin
to perform a
transformation with the engine. The following editor variables are available for making the
parameters in the command line (the transformer executable, the input files) independent of
the location of the input files:
- ${xml} - The XML input document as a file path.
- ${xmlu} - The XML input document as a URL.
- ${xsl} - The XSL / XQuery input document as a file path.
- ${xslu} - The XSL / XQuery input document as a URL.
- ${out} - The output document as a file path.
- ${outu} - The output document as a URL.
- ${ps} - The platform separator which is used between library
file names specified in the class path.