forms, xslt and python
øystein
frengky at netcom.no
Wed Feb 2 15:40:04 EST 2005
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
More information about the Python-list
mailing list