XML is a syntax and becomes an EDI format as soon as a standard defines which elements a message contains. One example is UBL, which OASIS describes as a general XML exchange format for business documents. Odette develops XML messages for the automotive industry and explicitly describes them as a complement to UN/EDIFACT. GS1 also has its own standard, GS1 XML, alongside EANCOM.
An EDI format is an agreed structure for business documents that two IT systems exchange without human involvement. The format defines which details an order or an invoice contains and in which order they appear. It is one of the EDI data formats and transmission channels that business partners agree on before the first exchange.
EDI formats are also called EDI data formats or message standards. All three terms mean the structure of the message, while a transmission protocol governs its transport.
