title: XML file download using Javascript Not working in IE
body: <p>Am trying to create XML file content and download it. For that I wrote code like this,</p>
  
  <pre><code>/* Preparing XML Data*/
  var XML=new XMLWriter();
      XML.BeginNode("Root Node");
      XML.Attrib("ADIB", "Attribute");   
      XML.Node("Fullname", "Anil");
      XML.Node("D.O.B", "31/12/2015");
      XML.EndNode();
      XML.Close();
  
  /* Downloading as XML file*/    
  var data = XML.ToString().replace(/&lt;/g,"\n&lt;");              
  var a = document.createElement('a');
  a.href= 'data:application/xml;charset=utf-8,' + encodeURIComponent(data);
  a.target = '_blank';
  a.download = 'New.xml';
  a.click();
  </code></pre>
  
  <p>It is working in chrome but not in IE. Can you please help me. </p>