title: how to create and write a temporary file in pure javascript?
body: <p>I have a xml content and I want to write it in a temporary xml file and later prompt user to save it.I have this...</p>
  
  <pre><code>var xml_content = document.getElementById('content_xml').value;
  var downloadable=encodeURIComponent(xml_content);
  document.location= 'data:Application/octet-stream,' +downloadable;
  </code></pre>
  
  <p>please help me with a pure javascript code, I mean without jquery.</p>