\n'
#xml=xml+self.getQuestionname()
xml=xml+'
Variants/ Positions | '
variants = self.getAnswers()
query = {'getQuesId': self.getId(),}
results = self.cat_answers(query)
for var in variants:
table += ''+variants.get(var)+' | ' table += '
'+str(i)+' | ' for j in range(1, len(variants)+1): count = 0 for result in results: ans_obj = result.getObject() ans_send = ans_obj.getAnswerSend() values = re.findall('\'+str(count)+' | ' table += '