working on correct xml recognition