JS MergeXML class
The nodes with the same path/name are replaced/added sequentially and the modification can be controlled by the options.
MergeXML could be useful in cases where it is necessary to gather XML data from multiple sources. For example, to join the configuration files of different subsystems depending on the system operation.
The following files are included:
- mergexml.js - the MergeXML class; supports IE, Firefox, Safari, Chrome, Opera;
- example.html - multi-selects the xml files and displays result;
- example.js - passes the xml data and returns result; requires HTML5;
- test1.xml, test2.xml - test data for the example;
The MergeXML is realized also in PHP.