How to output HTML form data to a XML file using Javascript?

elergySed

New Member
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.Currently my HTML is as follows:\[code\]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Windows 7 Answer File Generator</title> </head> <body> <form> <h1>Windows 7 Answer File Generator</h1> <h2>General Settings</h2> <table> <tr> <td width="200px">Skip product key:</td> <td> <select name="SkipProductKey"> <option value="http://stackoverflow.com/questions/11383236/Yes" selected="selected">Yes</option> <option value="http://stackoverflow.com/questions/11383236/No">No</option> </select> </td> </tr> <tr> <td width="200px">Skip automatic activation:</td> <td> <select name="SkipAutoActivation"> <option value="http://stackoverflow.com/questions/11383236/Yes" selected="selected">Yes</option> <option value="http://stackoverflow.com/questions/11383236/No">No</option> </select> </td> </tr> </table> </body> </html>\[/code\]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.
 
Back
Top