a working xml merger