Home >Online Product Documentation >Table of Contents >Scenario Properties for EDI to XML Conversions
Scenario Properties for EDI to XML Conversions
|
|
The EDI to XML Conversion module is available only in Stylus Studio XML Enterprise Suite.
|
A scenario allows you to preview the results of an EDI to XML Conversion. You use the General tab of the Scenario Properties dialog box to specify, optionally, the EDI document you want to convert to XML and the URI to which you want to output the result of the conversion.
You open the Scenario Properties dialog box by clicking Edit Scenario Properties (
) next to the scenario name field in the EDI to XML Conversions editor.
Fields
Existing Scenarios
Lists the scenarios that have already been defined for the current EDI to XML Conversion. To view the settings for a different scenario, click the name of that scenario.
- To add a new scenario, click Add. A new scenario is added to the Existing scenarios list box with a default name.
- To copy an existing scenario, click the scenario you want to copy and click Clone. A new scenario is created with a default name. All other settings are the same as those of the scenario on which you based the copy.
- To delete a scenario, click the scenario and then click Delete.
- To rename a scenario, click the scenario and click Rename. The existing name is highlighted, allowing you to rename it. Press Enter when you are done.
EDI Input (optional)
The EDI document you want to convert to XML.
Output URI (optional)
The absolute path for the file that contains the result of the EDI to XML Conversion preview. Each time you click Preview Result (
) to run the EDI to XML Conversion, Stylus Studio automatically updates the contents of this file (if specified), and it also displays the result in the Preview window. If you specify an output a file that does not exist, Stylus Studio creates it.
Use Relative Paths
Allows you to specify input and output files using paths that are relative to the EDI to XML Conversion. If you plan to move the EDI to XML Conversion to a different directory than the one to which you save it during development, consider disregarding this option and using absolute paths to specify input and output files.
Preview Result in an External Application
By default, EDI to XML Conversion results are displayed in the Preview window. You can use this option to also display the result in the application you specify.
Buttons
Add creates a new scenario.
Clone copies the selected scenario with a new name.
Delete removes the selected scenario.
Rename renames the selected scenario.
Browse the file system to select the source XML document.
For More Information
Previewing an EDI to XML Conversion
Creating an EDI to XML Conversion