You can use the Configure Transformation Scenarios(s) dialog box to
manage both the built-in
transformation scenarios and the ones you create.
To open this dialog box, use the
Configure Transformation Scenario(s) (Ctrl Shift C
(Meta Shift C on OS X)) action from the
Transformation toolbar or the menu.
The top section of the dialog box contains a filter that allows you to search through the
scenarios list. The
Settings button allows you to configure the following options:
- 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 Editor 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.
-
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 Editor
ignores it. If a conflict appears (an imported scenario has the same name as an existing one),
you can choose between two options:
Export selected scenarios - Use this option to export
transformation and validation scenarios individually. Oxygen XML Editor creates a
scenarios file that contains the scenarios that you export.
The middle section of the dialog box displays the scenarios that you can apply to the current
document. You can view both the scenarios associated with the current document type and the
scenarios defined at project level. The following columns are used to display the
transformation scenarios:
- Association - The check-boxes in this column mark whether a
transformation scenario is associated with the current document.
- Scenario - This column presents the names of the transformation
scenarios.
- Type - Displays the type of the transformation scenario. For
further details about the different types of transformation scenarios available in Oxygen XML Editor see the Defining a New Transformation Scenario section.
- Storage - Displays where a transformation scenario is stored (the
Show Storage option must be enabled.)
To sort each column you can left-click its header. The contextual menu of each header allows
you to do the following:
The bottom section of the dialog box contains the following actions:
- Association follows selection - Enable this check-box to
automatically associate selected transformation scenarios with the current document. This
option can also be used for multiple selections.
Note: When this option is enabled, the
Association column is hidden.
- New - This button allows you to create a new transformation
scenario, depending upon its type.
- Edit - This button opens the Edit Scenario
dialog box that allows you to configure the options of the transformations
scenario.
Note: If you try to edit a transformation scenario associated with a defined
document type,
Oxygen XML Editor displays a warning message to inform you that this
is not possible and gives you the option to create a
duplicate transformation scenario to edit instead.
- Duplicate - Use this button to create a duplicate transformation scenario.
- Remove - Use this button to remove transformation
scenarios.
Note: Removing scenarios associated with a defined document type is not
allowed.
The Edit, Duplicate,
Remove,
Import scenarios, and
Export selected
scenariosactions are also available in the contextual menu of the transformation
scenarios listed in the middle section of the dialog box.
This contextual menu also contains a Change
storage action that allows you to change the storage location of a
transformation scenario to Global Options or Project
Options. You are also able to keep the original storage location and make a copy
of the selected scenario in the new storage location.