Scenario Properties for EDI to XML Conversions

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.

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

 
Free Stylus Studio XML Training: