Using Convert to XML to Convert EDI to XML
As described earlier in this chapter (see The Convert to XML Editor), Stylus Studio's Convert to XML module has a user interface that provides you with complete control over how files, including EDI, are converted to XML. In the case of EDI files, EDIFACT, X12, and HL7 delimiter rules are handled automatically, and you can easily manage non-standard segments and extensions to other existing standards. The Convert to XML module also allows you to customize names for the fields in the output document and use regular expressions to filter the document's content.
The Convert to XML module is a useful way to jump-start EDI-to-XML conversion. If your needs include bi-directional conversion (XML-to-EDI as well as EDI-to-XML), consider using Stylus Studio's built-in Electronic Data Interchange (EDI) adapter.