Merge function

When the wizard export the dse configuration files from different transactions, the wizard needs to read the file contents, parse the content, compare the contents from different files into one file, and then export the result file.

The naming conflicts of definition elements might happen when merging the files. For example, both dsectxt.xml for transactionA and dsectxt.xml for transactionB have the "withdrawal" context. The following describes how to solve the naming conflicts.

When the wizard compares the definition files, there are three conditions:
Table 1. Conditions and Actions of the export wizard
Condition Action
Non-duplicate elements Add to the result definition file
Elements with duplicate id and value Add to the result definition file
Elements with duplicate id but different value Export failed and the wizard will generate an export report to indicate all of the conflicts in the transaction files.