Click to See Complete Forum and Search --> : Dynamically add to XML file


hume.tony
01-15-2009, 01:44 PM
I am looking for a way to dynamically add to a XML file without using ASP.net or Curl. Does anyone know of a way to do this in Javascript? If there isn't a way to add to one can you save all the data to arrays and then build a whole new XML file? How would you go about doing that?

scragar
01-15-2009, 01:50 PM
Javascript is client side, if it was capable of editing files on your server then it would be a serious security vulnerability.

(That's a no)

hume.tony
01-15-2009, 02:52 PM
The XML pages I'm working with will be saved locally.

jkmyoung
01-19-2009, 01:16 PM
This is a common question. The answer is still no. You need to choose a different language to perform this task.