Internal XML Representation
Up to Table of ContentsThis FAQ applies to: Any version.
The XML hierarchy for the empty questionnaire form is structured as follows (the elements marked with an asterisk can be repeated, for example a questionnaire may contain more than one group):
- element
questionnaire- element
group*- attribute
idwhen using the
designtab the identifier will be automatically assigned such that each identifier starts with agand groups are numbered incrementally - attribute
scalenumber of possible answers to the questions in this group, lower limit is always 1
- element
title- content: group title
- element
description- content: group description
- element
legendexplanations of all options that can be selected as answers
- element
option*there must be 1
optiontag for each option- content: explanation of option
- attribute
valuenumber of option (
1toscale)
- element
- element
question*- attribute
idwhen using the
designtab the identifier will be automatically assigned such that each identifier starts with aqand questions are numbered incrementally among all groups (questions in different groups still can not have the same id) - element
text- content: the question text
- attribute
- attribute
- element
The XML hierarchy for storing submitted forms is structured as follows:
- element
answers- element
form*one for each filled questionnaire
- attribute
idusername or ticket used to fill out the questionnaire
- element
question*- content: number of selected answer to this question
- attribute
idid of question (same as in master form)
- element
comment- content: the text which the person has written as comment when filling out
- attribute
- element
When the report is generated, the master (empty) form will be used for storing the results. For this, each question element will get the following extra elements and attributes:
- attribute
answerednumber of people who answered this question
- attribute
averageweighted average of answers
- element
answer*for each selected answer to this question
- content: number of selected answer to the question
- attribute
counthow many people selected this answer
- attribute
percentwhat is the percentage of this answer