Home >Online Product Documentation >Table of Contents >The EDI to XML Editor
The EDI to XML Editor
The EDI to XML editor is a visual editor that helps you create a conversion file that can be used to convert EDI documents to XML and to preview the XML that results from that conversion. The conversion file you create can be saved and used to convert other EDI documents with the same structure to XML.
|
Figure 190. EDI to XML Editor with Preview Window Displayed
You can use the EDI to XML editor to:
- View an EDI file you want to convert to XML. The EDI document pane shows any errors in the file - that is, how the file deviates from the EDI standard on which it is based - and provides Quick Fixes and other tools to help you correct the errors.
- Customize EDI standard definitions to accommodate proprietary or non-conforming EDI. By default, the EDI structure pane displays the structure of the EDI standard associated with the EDI document displayed in the EDI document pane, but you can change both the dialect and version to display the structure for any of the numerous dialects supported by DataDirect XML Converter.
You can import a local copy of EDI standard definitions and modify them in numerous ways - adding new values to a code list, changing a segment's Requirement property from Mandatory to Optional, and so on. See Customizing an EDI Standard for more information on this topic.
- Specify properties for the DataDirect XML Converter. The EDI to XML module uses the DataDirect XML Converter engine to convert EDI to XML. See Specifying XML Converter Properties for more information on this topic.
- Preview the EDI to XML conversion. When you click the Preview Result button (
), Stylus Studio opens the Preview window and displays the XML that results from converting the source EDI document using the parameters specified for the XML Converter engine as well as changes made to the EDI standard, if any.
Using Undo
Undo (Edit > Undo, or Ctrl+z) is supported throughout the EDI to XML editor. For example, you can undo changes made to
- The URI field
- The Dialect and Version drop-down lists
- Nodes in the EDI structure pane
Tip
|
|
Use Undo to undo changes incrementally. If you want to undo all of the changes you have made to the EDI structure definition, use the Restore Definition feature. See Undoing Customizations for more information.
|