I found this niftt program to allow me to do a quiz with my students, and I want to make a small change but I don’t understand XML. I can change the questions… no problem there… but I would like to add a field in the XML called <explain> that has an explanation of the answer to replace the text on the right side when you get it wrong. So instead of discplaying the text of the correct answer I would display the text in the explain field.
So the XML would look something like this
</Question>
<Question answer=“A” Value="3. Today the greatest risk factor for developing Bladder cancer is: ">
<Explain> The Correct answer is A. Cigarrette Smoking. This is found on page 33 of your text book.</Explain>
<Answers value=“Cigarette smoking”/>
<Answers value=“Drinking coffee”/>
<Answers value=“Using sweetener”/>
</Question>
and instead of just listing the option on the right side it would display the contents of <Explain>
Can anyone help? I know it must be simple but I don’t have a clue.
See the attached file for the program
Ken