Firstly, that isn't an XML file. You're missing quotes around
attribute values.
Secondly, your question is very unclear. Are you looking for an XSLT
way to correlate the correct_answer attribute to the alternative
element in corresponding order? Are you looking for a Python means to
do this?
Hi!
I got an xml file that goes like this.
Answer 1
Answer 2
Answer 3
Answer 4
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