Example: Switch between XML and EDI Output
This example shows you how to configure a target EDI component so that it produces XML output instead of EDI output. The configuration is minimal and involves changing a single property, as illustrated below.
1.Open the following mapping: <Documents>\Altova\MapForce2023\MapForceExamples\Xml_To_X12_Order.mfd.
2.Change the transformation language to BUILT-IN (On the Output menu, select Built-In Execution Engine).
3.Double-click the title bar of the target 850 component. The EDI Component Settings dialog box opens.
4.Select the Write content in XML format check box.
You can now preview the mapping by clicking the Output tab. As illustrated below, the EDI component now generates XML output instead of EDI.