Parsing EDIFACT with Edifact ConvertToXml
Converting EDIFACT to XML format is very straightforward. Instead of using the Edifact ConvertToJson Task, we use the Edifact ConvertToXml Task, which converts the message structure to an XML document.
The Task has one input field: Input edifact, which is used to provide the input EDIFACT message for the Task.
Example:
On runtime the Edifact ConvertToXml will return an XML document in a very similar tree structure as the ConvertToJson, just in XML format:
β
The next article is an Example of Transforming an XML formatted EDIFACT message to another XML format