title: How can i download xml in javascript using nodejs?
body: <p>I know that in python, you can download xml data in script.</p>
  
  <p>I am asking if JS can do the same thing.</p>
  
  <p>like when i run "node downloadxml.js" it will do a "GET" to get the xml data and store it in a variable</p>
  
  <p>just like doing </p>
  
  <pre><code>$.ajax({
      url: request_url,
      success: processData,
      dataType: 'xml'});
  </code></pre>
  
  <p>in browser </p>