Show last authors
1 = __**I- Introduction:**__ =
2
3
4 The "MergeXML" connector is used to merge different XML files into one XML file.
5
6 = __**I- Treatment Features:**__ =
7
8
9 The "MergeXML" connector is found in the conectors panel (On the left sidebar of the scenario page).
10
11 * (((
12 == **Configuration:** ==
13
14
15 )))
16
17 **T**o set up the connector, you should click on the blue button above the connector and fill in the properties displayed :
18
19
20
21 [[image:1638895716974-752.png||height="123" width="129"]]
22
23
24 ==== ,,__Figure 1: The MERGEXML connector__,, ====
25
26
27 __** Name :**__ To give a name to the processing step (connector). It is very useful to give meaningful names.
28
29 __** Nœud XML : **__Contains the XML node allowing to merge the XML content in the same file.
30
31 __** Output FileName :**__ define the Name of the output file.
32
33 __** Condition :**__ This field allows you to add a condition to execute the processing step only if the condition is met.
34
35
36
37
38 [[image:1638895490332-366.png||height="420" width="458"]]
39
40
41 ==== ,,__Figure 2: Properties of the MERGEXML connector__,, ====
42
43
44 * (((
45 == **Example: MERGEXML using 2 Files IN** ==
46
47
48 )))
49
50 In this example, we will try to merge 2 files IN into one output file.
51
52 * (((
53 === __**1-Input files of the MERGEXML connector**__ ===
54 )))
55
56
57 You will find below the 2 files example.
58
59
60
61
62 [[image:1638957781269-144.png||height="380" width="1278"]]
63
64 ==== ====
65
66 ==== ,,__Figure 3: Content of the 1^^st^^ input file in the MERGEXML connector__,, ====
67
68
69
70
71 [[image:1638957917935-737.png||height="377" width="1280"]]
72
73 ==== ====
74
75 ==== __,,Figure 4: Content of the 2^^nd^^ input file in the MERGEXML connector,,__ ====
76
77
78 * (((
79 === **__1-Output file after the MERGEXML connector__** ===
80 )))
81
82
83 By using 2 different configurations (Figure 5 and Figure 7) of the MERGEXML connector, we obtain successively the following result file (Figure 6 and Figure 8):
84
85
86 [[image:1638958312512-875.png||height="424" width="491"]]
87
88 ==== ,,__Figure 5: 1^^st^^ MERGEXML connector configuration__,, ====
89
90
91 [[image:1638959041887-565.png||height="521" width="1180"]]
92
93
94 ==== ,,__Figure 6: Content of the OutputFile of the MERGEXML connector of the 1^^st^^ Configuration__,, ====
95
96
97
98 [[image:1638959691058-861.png||height="408" width="482"]]
99
100
101 ==== __,,Figure 7: 2^^nd^^ MERGEXML connector configuration,,__ ====
102
103
104
105 [[image:1638959789197-625.png||height="454" width="1202"]]
106
107 ==== ,,__Figure 8: Content of the OutputFile of the MERGEXML connector of the 2^^nd^^ Configuration__,, ====
108
109
110 = =
111
112 == __Remark:__ ==
113
114
115 The XML node in the properties of the MERGEXML connector is the one that determines the content of the output File.
116
117
118
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian