Extensible Markup Language (XML) specification for transforming electronic
data interchange (EDI) transactions. A collection of EDI data is received
in a batch. The batch of EDI data includes a plurality of EDI documents
and each of the plurality of EDI documents has at least one EDI
transaction corresponding to a transaction type. The EDI transactions
included in the EDI documents are identified by decoding the received EDI
data according to EDI standards. A consolidated EDI document is generated
from the EDI documents in the batch of EDI data. The consolidated EDI
document includes the identified EDI transactions organized according to
the transaction type.