This is an old revision of the document!
deleteGrade(ident id, ident gradeId) {
assume exists //exams/exam[id]/grades/grade[gradeId]; # implies the exam exists, which is implicitly true anyway
remove //exams/exam[id]/grades/grade[gradeId];
} # examiner[id]