console tool written in Python which merge xml documents