title: Write into XML via Javascript
body: <p>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.</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;catalog&gt;
     &lt;book id="bk101"&gt;
        &lt;author&gt;Gambardella, Matthew&lt;/author&gt;
        &lt;title&gt;XML Developer's Guide&lt;/title&gt;
        &lt;genre&gt;Computer&lt;/genre&gt;
        &lt;price&gt;44.95&lt;/price&gt;
        &lt;publish_date&gt;2000-10-01&lt;/publish_date&gt;
        &lt;description&gt;An in-depth look at creating applications 
        with XML.&lt;/description&gt;
     &lt;/book&gt;
  &lt;/catalog&gt;
  </code></pre>