Posts: 3,985
Name: Abel Mohler
Location: Asheville, North Carolina USA
|
JavaScript can't save anything to files, so that is out of the question.
What you are describing is basically impossible from inside of a webpage, though there may be some ways to do it on an intranet with browser security settings very low, I'm not sure. On a public internet site, it is not going to happen. Period.
The only alternative I can think of, is save the XML file to the server, then allow it to be downloaded by the user so that it may be placed on his or her computer wherever they please. It would not be retrievable after you did that, but you could always retrieve it from the server if you needed it. A better option would honestly be to use a database, though I'm not sure of your intent here.
|