title: How to create and download an XML file on the fly using javascript?
body: <p>I got a requirement as following:</p>
  
  <p>There is a link on a web page. As user clicks on link it should create a file on the fly and a download box pops up. How to do it using java script?</p>