Wiki source code of FileToXML
Version 9.1 by Assala Chmiti on 2022/03/01 17:32
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | == **__Introduction:__** == | ||
2 | |||
3 | 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 **». | ||
4 | |||
5 | |||
6 | == **__Icon:__** == | ||
7 | |||
8 | |||
9 | [[image:1646134524824-934.png||height="112" width="126"]] | ||
10 | |||
11 | |||
12 | The connector exists in the scenario panel: | ||
13 | |||
14 | [[image:1.png]] | ||
15 | |||
16 | == **__Configuration:__** == | ||
17 | |||
18 | |||
19 | [[image:1646134567096-508.png]] | ||
20 | |||
21 | |||
22 | - To create or modify a transformation connector, you should be on a scenario (new or existing). | ||
23 | |||
24 | |||
25 | - __//Configuration ~://__ | ||
26 | |||
27 | 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 : | ||
28 | |||
29 | * //**Name **//: To give a name to the processing step (connector). It is very useful to give meaningful names . | ||
30 | * //**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..) | ||
31 | * //**FileName **//: To give a name to the output file of the current step. This step is very useful for the monitoring of the platform. | ||
32 | * **//Input & Output Charset//** : to precise the encoding for the files. The default encoding is UTF-8. | ||
33 | * **//Condition //**: This field allows you to add a condition to execute the processing step only if the condition is met. | ||
34 | * //**Add boundary OnError**// : It is checked only to add an additional treatment in the case of an error on the treatment step. | ||
35 | |||
36 | |||
37 | == __**Le fichier Format:**__ == | ||
38 | |||
39 | |||
40 | 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. | ||
41 | |||
42 | In this chapter we will go through all the possible cases of the format file. | ||
43 | |||
44 | 1. ((( | ||
45 | ==== __**Format Edifact**__ ==== | ||
46 | ))) | ||
47 | |||
48 | Le format Edifact allows the user to transform a file | ||
49 | |||
50 | 1. ((( | ||
51 | ==== __**Format Plat**__ ==== | ||
52 | ))) | ||
53 | 1. ((( | ||
54 | ==== __**Format **__ ==== | ||
55 | ))) |