Try to cope better with namespaces when merging XML documents.