Bestandsformaat

De vragenlijsten worden opgeslagen in XML-formaat. Dit is een standaard, open formaat, zodat andere applicaties de documenten kunnen inlezen en ook hier hun lijsten in kunnen opslaan.

<?xml version="1.0" encoding="UTF-8"?> <!-- Standard XML header, encoding is UTF-8 (unicode) --> <teach2000> <version>831</version> <!-- The document version --> <description>Normal</description> <!-- Normal list. Others types are for future use --> <message_data mm_files_embedded="N" encrypted="N"> <!-- No embedded image and sound files, no encryption --> <font_question>Arial</font_question> <!-- Font name used for questions --> <font_answer>Times New Roman</font_answer> <!-- Font name used for answers --> <items> <item id="0"> <!-- List of question/answer pairs, first item --> <questions> <!-- List of question alternatives (only one in this example) --> <question id="0">Example of open question</question> </questions> <answers type="0"> <!-- List of question alternatives (only one in this example), question type 0 = Open question --> <answer id="0">Example of open answer</answer> </answers> <errors>1</errors> <!-- One wrong answer --> <testcount>2</testcount> <!-- Question is two times asked --> <correctcount>1</correctcount> <!-- Number of times the answer was correct (value reset when answer is wrong) --> </item> <item id="1"> <questions> <!-- Example with more question alternatives, BBCode in question --> <question id="0">[red]Example[/red] of [s]open[/s] [u]question[/u] [i]with[/i] [b]BBCode[/b]</question> <question id="1">Alternative 1 of this question</question> <question id="2">Alternative 2 of this question</question> </questions> <answers type="0"> <!-- Example with more answer alternatives, BBCode in answer --> <answer id="0">Answer[br]with[br]BBCode[sup]2[/sup]</answer> <answer id="1">Second answer can contain [red]BBCode [/red]too</answer> <answer id="2">Third answer</answer> <answer id="3">Fourth answer</answer> <answer id="4">More answers possible</answer> </answers> <remarks>Remarks</remarks> <!-- Extra information --> <remarks_aa only_if_wrong="Y" soundfile="">Explanation after a wrong answer</remarks_aa> <!-- Information displayed after the answer was wrong (no sound) --> <errors>0</errors> <testcount>2</testcount> <correctcount>1</correctcount> </item> <item id="2"> <questions> <question id="0">Multiple choice question</question> </questions> <answers type="1" shuffle="Y"> <!-- Types: 0=Open / 1=Multiple choice / 2=Multiple choice. multiple answers / 3=Grammar / 4=Map quiz --> <answer id="0" ok="Y">Answer 1</answer> <!-- Correct choice --> <answer id="1" ok="N">Answer 2</answer> <!-- Incorrect choice --> </answers> <sel>Y</sel> <!-- This item is selected --> <qlbl>4</qlbl> <!-- This question is labeled 'Watch out!' --> <tt>2</tt> <!-- Always test as form 'Question-Answer' --> <errors>0</errors> <testcount>2</testcount> <correctcount>2</correctcount> </item> <item id="3"> <questions> <question id="0">Multiple choice question with more than one correct answer</question> </questions> <answers type="2" shuffle="N"> <answer id="0" ok="Y">Answer 1</answer> <answer id="1" ok="N">Answer 2</answer> <answer id="2" ok="Y">Answer 3</answer> </answers> <tt>2</tt> <errors>1</errors> <testcount>3</testcount> <correctcount>1</correctcount> </item> <item id="4"> <questions> <question id="0">An example of a grammar question</question> </questions> <answers type="3"> <answer id="0" label="I">test</answer> <!-- Label is used for the sub question --> <answer id="1" label="you">test</answer> </answers> <tt>2</tt> <errors>0</errors> <testcount>2</testcount> <correctcount>2</correctcount> </item> </items> <testresults> <!-- History of test results --> <testresult> <score>8</score> <!-- Score --> <diff>150</diff> <!-- Difficulty level --> <comment>Last test before exam</comment> <!-- Comment for result --> <dt>2008-12-19T14:14:02.812</dt> <!-- Test date --> <duration>1899-12-30T00:00:40.252</duration> <!-- Test duration --> <answerscorrect>4</answerscorrect> <!-- Number of correct answers (total) --> <wrongonce>1</wrongonce> <!-- Questions answered wrong once --> <wrongtwice>0</wrongtwice> <!-- Questions answered wrong twice --> <wrongmorethantwice>0</wrongmorethantwice> <!-- Questions answered wrong more then once --> </testresult> <testresult> <score>8.33333</score> <diff>117</diff> <comment></comment> <dt>2008-12-19T14:15:46.702</dt> <duration>1899-12-30T00:01:18.176</duration> <answerscorrect>4</answerscorrect> <wrongonce>1</wrongonce> <wrongtwice>0</wrongtwice> <wrongmorethantwice>0</wrongmorethantwice> </testresult> </testresults> <mapquizfile/> </message_data> </teach2000>