in reply to XML module which one
One thing to watch out for as you do this is ... multiple responses to the same CGI-variable. These appear as multiple occurrences in the data-stream, e.g.:
var1 = 'foo'
var1 = 'bar'
Make sure to use a CGI-variable parsing routine that handles that for you, and be sure also to put it to the test. Multiple selections from a drop-down list can do this, or poorly-written HTML. Be sure that your code, and your test suite, represents and correctly handles all cases that could exist.
(Mind you ... test it all the way up-and-down the line, including whatever logic is ultimately going to consume that XML file.)