Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Corrected links that should have been relative instead of absolute.

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 target schemas 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. Right-click the target schema element on which Select Target layout element and click on more Image Addedoption whose you want to merge the split data and select the Set as Merger XPath option. A screen showing the Merger XPath details is displayed (see Figure 470).

    Image Removed
    Figure 470: Merger XPath Details

     




    Image Added

     

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

     

     


    Info
    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
    . Refer to Table of Suffixesfor details on suffixes displayed next to an element
    .
     

    You can view Merger XPath details in the output XML. A $ input tag is prefixed to the line containing the Splitter XPath details.

     
    Info
    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.

...

  1. .

You can remove a Merger XPath that has been set for a target element. 
 


Steps to remove Merger XPath

  1. Right-click Select the target schema element whose Merger layout element and click on more Image Addedoption whose Merger XPath you want to remove and select the Remove Merger XPath option. A screen showing the Merger XPath details is displayed (see Figure 471).

    Image Removed

    Figure 471: Remove Merger XPath Details

    Click OK.



    Image Added

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

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