A high-performance method to insert a DOM tree to another DOM tree
Original Publication Date: 2004-Aug-10
Included in the Prior Art Database: 2004-Aug-10
Disclosed is a method to merge multiple XML documents into one XML document. Document Object Model (DOM) defines a programming interface for XML documents. To merge multiple documents with DOM, the importNode() method is used, and it has large performance overhead. This article discloses an efficient way to merge XML documents into one DOM tree using existing SAX parser.