title: How to output HTML form data to a XML file using Javascript?
body: <p>I'm currently trying to figure out how to output my HTML form data to an XML file. This is an idea I've been playing around with for the past couple of days in order to create a autounattended.xml file to be used with Windows 7 installations.</p>
  
  <p>Currently my HTML is as follows:</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Windows 7 Answer File Generator&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;form&gt;
              &lt;h1&gt;Windows 7 Answer File Generator&lt;/h1&gt;
              &lt;h2&gt;General Settings&lt;/h2&gt;
              &lt;table&gt;
                  &lt;tr&gt;
                      &lt;td width="200px"&gt;Skip product key:&lt;/td&gt;
                      &lt;td&gt;
                          &lt;select name="SkipProductKey"&gt;
                              &lt;option value="Yes" selected="selected"&gt;Yes&lt;/option&gt;
                              &lt;option value="No"&gt;No&lt;/option&gt;
                          &lt;/select&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;tr&gt;
                      &lt;td width="200px"&gt;Skip automatic activation:&lt;/td&gt;
                      &lt;td&gt;
                          &lt;select name="SkipAutoActivation"&gt;
                              &lt;option value="Yes" selected="selected"&gt;Yes&lt;/option&gt;
                              &lt;option value="No"&gt;No&lt;/option&gt;
                          &lt;/select&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
          &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>This is just a snippet of what I've been working on. So, I was wondering if its possible to use javascript to create an XML file based on the select values and ask the user where to save the xml file. Any information regarding this would be a big help.</p>