how to store data in xml file from textbox in html.
just a simple HTML file, i know how to retrieve data from XML to HTML file using a javascript
2010-08-11 14:51:43
In some very limited contexts, javascript can be given access to the file system of the client, and can save files. These limited contexts are where HTML is being used with something other than a web-browser, such as HTAs. Otherwise HTML and javascript can't save files, or every one of our computers would be full of nothing other than files saying "lol I 0wn j00! 1 am l33t!" because the security would be dreadful.What you can do, is to POST the form to a server, and have server-side code (PHP, ASP.NET, JSP, CF, and many other options) save this to a file on the server, or othewise store it.
Jon Hanna
2010-08-11 15:00:05
A:
It doesn't make sense to convert the entered xml to html client-side and then submit it to store it. Best would be, accept the data in xml and convert to html on server side and store it. I am sure, if you can do it using javascript, you can do it server-side code.
simplyharsh
2010-08-11 14:58:05