Subject:XML to X12 conversion error Author:(Deleted User) Date:03 Sep 2009 07:50 AM
I have tested the X12 document found at that web page, and it does convert fine in both directions. Which version of Stylus Studio are you using? If you have modified the x12-sample.txt, can you post it to this thread?
Subject:XML to X12 conversion error Author:(Deleted User) Date:03 Sep 2009 09:52 AM
you cannot convert an arbitrary XML document to X12; the XML document must adhere to a specific schema to have the informations needed to build a fully compliant EDI message.
If you need to create an EDI message from scratch (instead of editing an existing one, like the web page you were referring to was doing) you should first create the XML Schema for that specific message using the "X12 to XML Schema" document wizard, then use it (for instance, as the target schema in Mapper) to populate the proper fields. The resulting XML document can then be converted into EDI.