Normalize xml strings before comparing them