public static ResponseQuestion getResponseQuestionByXMLElem(XMLElement root, Quiz quiz, int pos) {
		int quizID = quiz.quizID;
		int position = pos;
		Object question = null;
		Object answer = null;
		double score = 10;
		for (int i = 0; i < root.childList.size(); i++) {
			XMLElement elem = root.childList.get(i);
			if (elem.name.equals("query")) {
				question = (String) elem.content;
			} else if (elem.name.equals("answer")) {
				ArrayList<String> answerList = new ArrayList<String>();
				answerList.add(elem.content);
				answer = answerList;
			} else if (elem.name.equals("answer-list")) {
				answer = Question.getAnswerListByXMLElem(elem);
			} else if (elem.name.equals("score")) {
				score = Double.parseDouble(elem.content);
			} else {
				System.out.println("Unexpected field in response question : " + elem.name);
			}
		}
		return new ResponseQuestion(quizID, position, question, answer, score);
	}