XProc Transformation Scenario

A sequence of transformations described by an XProc script can be executed with an XProc transformation scenario. The scenario specifies the following parameters of the transformation:

On the XProc tab of the scenario edit dialog you can select the URL of the XProc script and the XProc engine. The engine can be the built-in Calabash engine or a custom engine configured in the Preferences dialog.

On the Inputs tab of the dialog you can configure each port used in the XProc script for reading input data. Each input port has an assigned name in the XProc script. The XProc engine reads data from the URLs specified in the URLs list. The built-in editor variables and the custom editor variables can be used to specify these URLs.

On the Parameters tab you can specify the parameters available on each port.

Each port where the output of the XProc transformation is sent is associated with an URL on the Outputs tab of the dialog. The built-in editor variables and the custom editor variables can be used for specifying this URL.

The result of the XProc transformation can be displayed as a sequence in an output view with two sections: a list with the output ports on the left side and the content of the document(s) that correspond to the selected output port on the right side. If the Open results in editor option is selected, the XProc transformation result will be opened automatically in an editor panel. By selecting the Open in System Application option, you can specify a file that will be opened at the end of the XProc transformation in the system application associated with that file type.

XProc Transformation results view