Adding more robust XML-string comparison