title: Saving XML filen in Node.js
body: <p>I have just started exploring Node.js as I am planning to work on a project very soon using Node.js. I prefer saving my project data in XML file as so was looking for modules or libraries for Node.js which facilitate saving, editing, retrieving and transforming XML data. While researching on this I came across modules like xml2js, xmlbuilder, sax, node-xml and data2XML for Node.js, but none of them allows storing modified XML back to the XML file. </p>
  
  <p>We use <code>$xml-&gt;asXML("file.xml")</code> to save an XML file in PHP and I'm looking for an alternative for this in Node.js.</p>