Subject:EDIFACT to XML Author:David Wong Date:12 Oct 2006 03:26 AM
I would like to translate a BAPILE 1.5 (EDIFACT Direc 91.1) to a XML file. Since this type of adapter does not exist, I am trying to use “Convert to XML” to create my own adapter. I found the output of the XML can only have three levels: Region, Field, Component and Sub Component
Let’s say I want to translate the following EDIFACT segment:
UNH+1+BAPLIE:1:911:UN:SMDG15'
To:
<MessageList>
<Message>
<Header>
<MessageHeader>
<MessageId>
<MessageTypeId>BAPLIE</MessageTypeId>
<MessageTypeRelNum>911</MessageTypeRelNum>
How can I do it? Should I use “Convert to XML” at the first place or I should use something else?