I- Introduction:

The "MergeXML" connector is used to merge different XML files into one XML file.

I- Treatment Features:

The "MergeXML" connector is found in the conectors panel (On the left sidebar of the scenario page).

  • Configuration:

To set up the connector, you should click on the blue button above the  connector and fill in the properties displayed :

                                                              1638895716974-752.png

  Name : To give a name to the processing step (connector). It is very useful to give meaningful names.

  Nœud XML : Contains the XML node allowing to merge the XML content in the same file.

  Output FileName : define the Name of the output file.

  Condition : This field allows you to add a condition to execute the processing step only if the condition is met.

                                                             1638895490332-366.png

  • Example: MERGEXML using 2 Files

In this example, we will try to merge 2 files IN into one output file.

You will find below the 2 files example.

                              1638957781269-144.png

Figure 1: 1er fichier en entrée dans le connecteur MERGEXML

                             1638957917935-737.png

Figure 2: 2ème fichier en entrée dans le connecteur MERGEXML

En utilisant la configuration suivante(Figure 3) du connecteur MERGEXML, on obtient le fichier résultat suivant (Figure 4):

                                                                             1638958312512-875.png

Figure 3: Configuration du connecteur MERGEXML

 

Tags:
    
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian