Hi!

I got an xml file that goes like this.

<question id=10 correct_answer=2>
<alternative>Answer 1</alternative>
<alternative>Answer 2</alternative>
<alternative>Answer 3</alternative>
<alternative>Answer 4</alternative>
</question>

I've made an xslt transformation and put the alternatives into radio buttons (html form) so the user can choose the correct answer by

I am able to list all the questions and the id's via via python and return them to the webpage. Put how can I get the value from the alternative element? How can I verify that the user have answered correct?


Regards Frengky -- http://mail.python.org/mailman/listinfo/python-list

Reply via email to