Hi i got a existing XML file and want to add a new entry via Javascript (atm without any form or stuff like that just hard coded), so my question is how to handel this to add a new book.
<?xml version="1.0"?>
<catalog>
<book id="bk101">
<author>Gambardella, Matthew</author>
<title>XML Developer's Guide</title>
<genre>Computer</genre>
<price>44.95</price>
<publish_date>2000-10-01</publish_date>
<description>An in-depth look at creating applications
with XML.</description>
</book>
</catalog>
Check below URL also.
http://www.codeproject.com/Articles/12504/Writing-XML-using-JavaScript