You can manage the transformation scenarios by using the Transformation
Scenarios view. To open this view, select Window > Show View > Transformation Scenarios.
Figure 1. Transformation Scenarios view
Oxygen XML Developer supports multiple scenarios association. To associate multiple
scenarios with a document, select the checkboxes in front of each scenario. You can also
associate multiple scenarios with a document from the Configure Transformation Scenario(s) dialog box.
The Transformation Scenarios
view presents both global and project-level
scenarios. By default, Oxygen XML Developer presents the items in the following order:
The following actions and options are available on the toolbar or in the contextual
menu:
Apply
selected scenarios
Select this option to run the current transformation scenario.
Debug
selected scenario
Select this option to switch to the Debuggerperspective and initialize
it with the parameters from the scenario (the XML, XSLT, or XQuery input, the
transformation engine, the XSLT parameters).
New
This drop-down menu contains a list of the scenarios that you can create. Oxygen XML Developer determines the most
appropriate scenarios for the current type of file and displays them at the beginning
of the list, followed by the rest of the scenarios.
Duplicate
Adds a new scenario to the list that is a duplicate of the current scenario. It is
useful for creating a scenario that is similar to an existing one.
Edit
Opens the dialog box that allows you to configure various options in several tabs,
depending on the type of transformation scenario that was selected. For information
about all the specific options in the various tabs, see the Transformation Types section.
Remove
Removes the current scenario from the list. This action is also available by using
the Delete key.
Change storage
Use this option to change the storage location of the selected scenario. You are
also able to keep the original storage location and make a copy of the selected
scenario in the target storage location.
Import
scenarios
This option opens the Import scenarios dialog box that allows
you to select the scenarios file that contains the scenarios you
want to import. If one of the scenarios you import is identical to an existing
scenario, Oxygen XML Developer ignores it. If a conflict appears (an imported
scenario has the same name as an existing one), you can choose between two options:
Keep or replace the existing scenario.
Keep both scenarios.
Note:
When you keep both scenarios, Oxygen XML Developer
adds imported to the name of the imported scenario.
Export
selected scenarios
Use this option to export transformation and validation scenarios individually. Oxygen XML Developer creates a scenarios file that contains the
scenarios that you export.
Settings
This drop-down menu allows you to configure the following options (many of these
options are also available if you right-click the name of a column):
Show all scenarios
Select this option to display all the available scenarios, regardless of the document
they are associated with.
Show only the scenarios available for the editor
Select this option to only display the scenarios that Oxygen XML Developer can apply
for the current document type.
Show associated scenarios
Select this option to only display the scenarios associated with the document you are
editing.
Change storage
Use this option to change the storage location of the selected scenario to
Project
Options or Global Options. You are also able to keep
the original storage location and make a copy of the selected scenario in the
new storage location.
Import
scenarios
This option opens the Import scenarios dialog box that allows
you to select the scenarios file that contains the scenarios you
want to import. If one of the scenarios you import is identical to an existing scenario,
Oxygen XML Developer ignores it. If a conflict appears (an imported scenario has the
same name as an existing one), you can choose between two options:
Keep or replace the existing scenario.
Keep both scenarios.
Note:
When you keep both scenarios, Oxygen XML Developer
adds imported to the name of the imported
scenario.
Export selected
scenarios
Use this option to export selected scenarios individually. Oxygen XML Developer
creates a scenarios file that contains the exported scenarios. This
is useful if you want to share scenarios with others or export them to another
computer.
Show Type
Use this option to display the transformation type of each scenario.
Show Storage
Use this option to display the storage location of the scenarios.
Group by Association
Select this option to group the scenarios depending on whether or not they are
associated with the current document.
Group by Type
Select this option to group the scenarios by their type.
Group by Storage
Select this option to group the scenarios by their storage location.
Ungroup all
Select this option to ungroup all the scenarios.
Reset Layout
Select this option to restore the default settings of the layout.
Your selections in the Transformation Scenarios view are persistent so
the configured associations for the current document will be remembered whenever the document
is opened.