XML Approach APCS
XML Approach APCS
1. XML/EDIFACT Definition
2. XML/EDIFACT Standards
3. Conclusions
4. Why XML
5. Messages in use
First of all…
• EDIFACT-messages are very valuable and can be kept in use “as is”
https://en.wikipedia.org/wiki/XML/EDIFACT
5
2 XML/EDIFACT Standards
XML/EDIFACT Standards (1)
• XEDI
• The names of the XML structure are based on the EDI structure.
(loop, segment, composite, element)
Element are identified by means of attributes, derived from the EDI tags
7
XML/EDIFACT Standards (1)
DTD: XML:
8
XML/EDIFACT Standards (2)
• ISO 20625
• Variant 1:
The names of the XML structure will be derived from the EDI tags.
They will be given a prefix depending on the structure level (segment group, segment,
composite data element or data element).
(the suffix is optional and can be generated based upon various semantic understanding of EDI elements)
9
XSD XML
10
XML/EDIFACT Standards (2)
• ISO 20625
• Variant 2:
“Speaking”, more readable, tags can be used instead of the EDIFACT codes, if desired.
If using readable tags the EDI origin of the corresponding element can be documented
by an appropriate attribute value or with other means of documentation.
<MessageHeader>
<BeginningOfMessage>
<GroupDetailsOfTransport>
<DetailsOfTransport>
<ModeOfTransport>
</ModeOfTransport>
</DetailsOfTransport>
</GroupDetailsOfTransport>
11
XSD XML
12
3 Conclusions
Conclusions on translation standards
14
4 Why XML…
Why XML…
• XML is native supported, out of the box, by most programming languages and tools
• So no (extra) costs & investments needed in extra, often expensive, software needed
for EDIFACT-architecture
16
So it’s not only XML, but “XML/EDIFACT”
17
5 Messages in use
Messages in use
APERAK
BAPLIE
COARRI
CODECO
COPINO
CUSREP
CUSRES
IFTDGN
IFTSAI
IFTSTA
19
Q&A