This class can merge XML documents from strings, DOM objects or input files. It can take a XML document from a string or a DOM object tree, or a file taken from a form input and merges with another XML document. The resulting document can be search using a XPath query string or returned as a string or a DOM object. This object provides options to control whether the nodes with the same path or name are replaced or added sequentially.