Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: How to add data to existed XML file from html

From: lewis@-----.-----.--- (----- -. -----)
To: NULL
Date: 8/5/2004 7:47:00 PM
zheetee@y... (zheetee) writes in article <43227819.0408040726.7dba2a25@p...> dated 4 Aug 2004 08:26:19 -0700:
>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.


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent