Iterating through ALL the radio buttons and writing to XML!

Obviously this will change slightly as Nick modifies things further.