Abstract: A language-based electronic data interchange ("EDI") translation system provides the capability to receive data in a first format from a source, execute a script to translate the data into a second format, and transmit the data in the second format to a destination. The system employs a data tree structure to enable flexible translation between EDI documents and application documents with differing data structures.