Creating Clone of Target Element

 

Cloning means generating replicas of the target elements or nodes. You can create clones of all target elements.

Steps to create a clone

  1. Ensure that the source and target schemas are loaded and all their elements are listed under their respective nodes.
  2. Right-click the target element and select the CloneNode option.

    You can create a clone of all target nodes except the root node. Thus, the Clone Node sub-option is displayed as inactive for the root node.

  3. The element which is created using cloning is displayed with the suffix [1] after its name. Subsequent clones that are created for that element will have the suffix [2] and so on. You can create a maximum of 300 occurrences of an element, with one main element and 299 clones.


Removing Clone of Target Element
 

Steps to remove a clone

  1. Ensure that the source and target schemas are loaded and all their elements are listed under their respective nodes.
  2. Right-click the cloned element that you want to remove and select the Remove Clone option. A screen is displayed confirming the removal of the selected clone (see Figure 556).


    Figure 556: Confirm Remove Clone

  3. Click Yes to remove the clone. This removes the selected clone from the target schema.

    If more than one clone has been created for an element, then you need to remove the clones in descending order.