Set Merger XPath

Once you have split the source data by setting the Splitter XPath on a source element, you need to merge the split data at the target end. For this, you need to set the Merger XPath on a target element.

Setting the Merger XPath is largely dependent upon the Splitter XPath. You need to ensure that the number of Splitter XPaths and the Merger XPaths at the source and target schemas respectively are the same. 
 

Steps to set Merger XPath

  1. Ensure that all the source and destination layouts are loaded and all their elements are listed under their respective nodes.
  2. Ensure that a Splitter XPath has been set for a source schema element.
  3. Select Target layout element and click on more option whose you want to merge the split data and select the Set as Merger XPath option.


     

    Merging can be set only on root or record levels. You cannot merge on an element level.
  4. This merges the split data and sets the Merger XPath on the selected target element.

    Once a Merger XPath is set for a target element, the letter (S) is displayed next to that target element. This signifies that the split data has been merged on the target element and the Merger XPath has been set.
    When using Enable Quick Splitting feature, the Merger Xpath is also automatically set when this feature is selected.
  5. Once you have set a Merger XPath, you can view it in the Output XML.

Steps to remove Merger XPath

  1. Select the target layout element and click on more option whose Merger XPath you want to remove and select the Remove Merger XPath option.



  2. This removes the Merger XPath set on the selected target element.

    Once a Merger XPath is removed for a target element, the letter (S) is removed next to that target element.