Compile an XML Encoder Object

About this task

Files are typically translated using translation objects. The translator can also translate documents into XML using an XML Encoder object (which is also referred to as a Lightweight Translation Object). The standard map has the extension .txo; the XML encoder object has the extension .ltx.

An XML encoder object converts the following file formats into XML:

  • EDI
  • Positional
  • Variable-length-delimited
  • CII

For an XML encoder object, you do not map fields between formats. Instead, you select input or output and compile a map into an XML encoder object.

XML encoder objects send data to a decision engine where the data is directed and processed according to predefined factors.

All elements in XML encoder object output correspond to the blocks and fields of the original file. Each element has the same name as the block or field that it corresponds to in the original file.

To create an XML encoder object:

Procedure

  1. In the Sterling B2B Integrator Map Editor, select the root element on the side from which you want to create an XML encoder object.
  2. Right-click the root element and select Compile XML Encoder Object.
  3. In the XML Encoder Object Name dialog box, specify the location and name of the XML encoder object. Do not use spaces or apostrophes in the name.
  4. Click Save. A message indicates that the XML encoder object was compiled.