Introduction:

This connector is used to transform a file. It is a connector allowing to transform a file of another format (CSV, PLAT, - EDIFACT...) to an XML file based using a file called «  format  ».

Icon:

1646134524824-934.png

The connector exists in the scenario panel:

1.png

Configuration:

1646134567096-508.png

- To create or modify a transformation connector, you should be on a scenario (new or existing).

- Configuration :

     FILE_TO_XML is a transformation connector used to set up the connector, you should click on the blue   button above the connector and fill in the properties displayed :

  • Name : To give a name to the processing step (connector). It is very useful to give meaningful names .
  • Format : The XML file allowing to transform the input or output file to XML format or vice versa.  We have several existing standard formats (EDIFACT, X12..)
  • FileName : To give a name to the output file of the current step. This step is very useful for the monitoring of the platform.
  • Input & Output Charset : to precise the encoding for the files. The default encoding is UTF-8.
  • Condition : This field allows you to add a condition to execute the processing step only if the condition is met.
  • Add boundary OnError : It is checked only to add an additional treatment in the case of an error on the treatment step.

Le fichier Format:

The format file is mandatory for the connector to work. The iXPath file formats are described in XML and stored in the client environment's format directory.

The XML format represents the actual hierarchical structure of the file.

The XML output file will strictly use the tag names and structure defined in the XML structure file.

In this chapter we will go through all the possible cases of the format file.

  1. Format Edifact

Introduction:

The Edifact format allows the user to transform an edifact fifile to an xml file respecting.

XML documents must contain one root element that is the parent of all other elements. This element should exist once in all the document. In general it is a node called "ixDOC".

Elements of the file format:

Any group of information (even those that are not delimited by characters, a line break or other) must be represented in the document (e.g. groups of EDIFACT segments, Messages, etc.).

Attributes are considered one of the important elements in the format xml file.

They tell the translation processor what actions to take when reading the document.

 

Tags:
Created by Assala Chmiti on 2022/03/01 12:21
    
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian