title: How to work with XML in javascript?
body: <p>So in Javascript I'm working with json a lot.</p>
  
  <p>It's simple since it looks like js object. So all I need to do when getting a json back from a HTTP request is to parse it to js object. When I want to send a js object as json i stringify it.</p>
  
  <p>But some APIs are just returning XML.</p>
  
  <p>How do I interact with XML? I parse it to object with a XMLtoObject lib? Is there a built in method in js?</p>
  
  <p>Or do I use xpath/css selector to get what I want in that string? How do I add elements etc.</p>
  
  <p>Hope someone could shed a light on this topic.</p>
  
  <p>Cheers!</p>