How to add data to existed XML file from html

Z

zheetee

Does anyone know if it is possible to update an XML file from an html
page, maybe using javascript. Say, a user can add data that matches
tags in the xml.

or any command that can direct delete the last line data from XML
file.....


thank you....
 
K

Keith A. Lewis

Does anyone know if it is possible to update an XML file from an html
page, maybe using javascript. Say, a user can add data that matches
tags in the xml.

Is the XML file stored on the server or on the browser machine?

If it's the server, you could use a Java servlet to handle a HTML form.
Javascript is a language built to control browsers, probably no good for
this.
or any command that can direct delete the last line data from XML
file.....

The only way I know of is to read through it all.

--Keith Lewis klewis {at} mitre.org
The above may not (yet) represent the opinions of my employer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top