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** ==
46
47
48 )))
49
50 In this example, we will try to merge 2 files IN into one output file.
51
52 You will find below the 2 files example.
53
54
55
56
57 [[image:1638957781269-144.png||height="380" width="1278"]]
58
59 ==== ====
60
61 ==== ,,__Figure 3: Content of the 1^^st^^ input file in the MERGEXML connector__,, ====
62
63
64
65
66 [[image:1638957917935-737.png||height="377" width="1280"]]
67
68 ==== ====
69
70 ==== __,,Figure 4: Content of the 2^^nd^^ input file in the MERGEXML connector,,__ ====
71
72
73 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):
74
75
76 [[image:1638958312512-875.png||height="424" width="491"]]
77
78 ==== ,,__Figure 5: 1^^st^^ MERGEXML connector configuration__,, ====
79
80
81 [[image:1638959041887-565.png||height="521" width="1180"]]
82
83
84 ==== ,,__Figure 6: Content of the OutputFile of the MERGEXML connector of the 1^^st^^ Configuration__,, ====
85
86
87
88 [[image:1638959691058-861.png||height="408" width="482"]]
89
90
91 ==== __,,Figure 7: 2^^nd^^ MERGEXML connector configuration,,__ ====
92
93
94
95 [[image:1638959789197-625.png||height="454" width="1202"]]
96
97 ==== ,,__Figure 8: Content of the OutputFile of the MERGEXML connector of the 2^^nd^^ Configuration__,, ====
98
99
100 = =
101
102 == __Remark:__ ==
103
104
105 The XML node in the properties of the MERGEXML connector is the one that determines the content of the output File.
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian