PDA

View Full Version : Update XML via form on local machine?


sleah
03-01-2005, 05:21 PM
I have searched for messages relating to updating an XML document. Maybe I missed it, but what I need to do is update an XML document on a local machine. The XML is then pulled into Flash and a chart is displayed. I have found solutions relating to PHP, ASP, etc but I will not have access to any type of server. I will be creating a form where a user enters information and the chart is updated projected for an audience. An example of the form is at http://www.infosoftglobal.com/FusionCharts/LiveDemo.asp (though I will not have that many options in my form). I am not using FusionCharts, it is just an example. Is there a way to upate the XML on a local machine through a form? HTML form, Flash, or some other solution? Thank you for any help.

Gibberish
03-01-2005, 05:41 PM
on the users local machine? You cannot just save to a users harddisk, if you could do that anyone could save any virus they wanted in the form of a .xml or whatever file. There might be a away to get the to get the save as pop up so they can save the file but I think XML will just open a window instead of download. Just like if you viist an xml document online and you get the XMl tree.

You are plannin gon using flash I assume sice you cannot use any serverside language. Another problem is flash cannot create XML documents, the information must be sent through a serverside language which then creates the XML document.

sleah
03-01-2005, 05:53 PM
I was probably unclear. The only computer this will be on is within the company and possibly my own. It will be for internal meetings only. I can veer away from the XML if necessary but I need some sort of dynamic solution. I won't be the one filling out the form and having someone else go in and edit something without a form is out of the question. since the xml works with flash without a server, it just seems like there should be away, besides opening up notepad, to edit the xml.

Gibberish
03-01-2005, 05:56 PM
only ways I am aware of are thorugh a serverside langauge. Maybe some sort of windows application language could do the trick, I am not familiar with these though.

sleah
03-01-2005, 05:59 PM
Thanks. I wanted to go XML but I'm still looking around. Have a day or so to plan my attack.

sleah
03-01-2005, 07:11 PM
Just a note that I ran across something that can write the xml on my hard drive (SWF Studio). Haven't done more than test the example but it did write the file and then read it. Since I already had that tool, should have checked there first.