Subject:EDI X12 to XML Author:James Durning Date:04 Dec 2007 01:08 PM
I suggest getting the schemas for both of these files first. By doing a preliminary mapping with the schemas, you can then apply it to your main source files.
Subject:EDI X12 to XML Author:Tony Lavinio Date:05 Dec 2007 07:23 PM
If it's a standard X12 850 file, the simplest way is probably to
use one of the mappers - XSLT or XQuery - along with the XML
Converter.
First, do File|New and create either an XSLT or XQuery file.
For the input document, press the [...] button and choose
the X12 file, and make sure the checkbox is checked to open
with XML Converters. Then select the EDI converter.
Next, switch to the Mapper view.
For the right side of the mapper, choose the XML sample file or
schema that is supplied by your intended recipient. Now you can
map the elements. Saving that XSLT or XQuery will let you reuse
it.