A sequence of transformations described by an XProc script can be executed with an XProc transformation scenario. In the scenario the parameters of the transformation are specified: the URL of the XProc script, the XProc engine, the input ports and the output ports.
On the XProc tab of the scenario edit dialog it is selected the URL of the XProc script and the XProc engine. The engine can be the built-in engine called Calabash XProc or other engine configured in Preferences.
On the Inputs tab of the dialog is configured each port that is used in the XProc script for reading input data. Each input port has a name that is assigned in the XProc script and that is used for identifying the port in the list from the Port combo box. The XProc engine will read data from the URLs specified in the URLs list. The built-in editor variables and the custom editor variables can be used for specifying a URL.
On the Parameters tab you can specify the parameters available on each port.
Each port where is sent the output of the XProc transformation is associated with a URL on the Outputs tab of the dialog. The built-in editor variables and the custom editor variables can be used for specifying a URL.
The result of the XProc transformation can be displayed as a sequence in an output view with two sides: a list with the output ports on the left side and the content of the document(s) that correspond to the output port selected on the left side. If the checkbox Open in editor is selected the XProc transformation result will be opened automatically in an editor panel.