title: How to convert a JavaScript form to XML (or something else?)
body: <p>I am working on a program that makes score forms in JavaScript. The form itself is fully functional (it calculates the scores just fine), but now I'm looking for a way to save these results to some sort of file that can also be loaded by the same program, both on the same system as on other systems and/ord devices.</p>
  
  <p>I picked up that XML could be used in some way for this, but I have no idea where to start with this. The fields in the form are nothing special: a combination of text forms (some of whom have dynamically caluclated results, i.e. three fields have the numbers 8, 8 and 7 in them with the fourth having 23 in it) and a few drop-downs. This might change what code to use in this case, or maybe not.</p>
  
  <p>So my question is as follows: how can I save and load the content of a JavaScript form to an easily movable file, and should I use XML for this or something else? Answers in either code, a short list of steps or link to a full-blown tutorial are all welcome.</p>
  
  <p>Thank you,</p>
  
  <p>Thomas</p>