title: Libraries to write xml with JavaScript
body: <p>I am doing some server side coding with JavaScript (node.js) and I would like to write valid xml.</p>
  
  <p>I found two libs, but I am sure there are more/better!?</p>
  
  <ul>
  <li><a href="http://goessner.net/download/prj/jsonxml/" rel="noreferrer">http://goessner.net/download/prj/jsonxml/</a> (LGPL)</li>
  <li>not yet released: <a href="https://sourceforge.net/projects/jsonix" rel="noreferrer">https://sourceforge.net/projects/jsonix</a> (LGPL)</li>
  </ul>
  
  <p>Requirements: open source (for commercial usage)</p>
  
  <p>Would be cool if the project is fast, small and simple to use (in that order). And I would like to have a bit lower level access ala</p>
  
  <pre><code>doc.addElement('xy').addAttr('name', 'bob');
  </code></pre>