for (Evaluation e : evaluationList) {
if (courses.getCourse(e.getCourseID()).isArchived() != true) {
numberOfCompletedEvaluations = evaluations.getNumberOfCompletedEvaluations(e.getCourseID(), e.getName());
numberOfEvaluations = evaluations.getNumberOfEvaluations(e.getCourseID(), e.getName());
evaluationDetailsList.add(new EvaluationDetailsForCoordinator(e.getCourseID(), e.getName(), e.getInstructions(), e.isCommentsEnabled(), e.getStart(), e.getDeadline(), e.getTimeZone(),
e.getGracePeriod(), e.isPublished(), e.isActivated(), numberOfCompletedEvaluations, numberOfEvaluations));
}
}
resp.getWriter().write("<evaluations>" + parseEvaluationDetailsForCoordinatorListToXML(evaluationDetailsList).toString() + "</evaluations>");