A computer implemented method, apparatus and software for automatically
transforming data between a self-describing markup language format and an
Electronic Data Interchange (EDI) format. For generating EDI documents, a
standard data model with EDI related data is received. Data definitions
for the self-describing markup language are generated. The generated data
definitions are used to generate self-describing markup language data. An
EDI document is automatically created based on the self-describing markup
language data.