Renames priority XML nodes accordingly