title: convert JSON object to XML using javascript
body: <p>I want to convert a JSON object to a XML String and I can't figure a proper way to do it.
  I've found a neat little jQuery plugin called json2xml at <a href="https://gist.github.com/c4milo/3738875" rel="nofollow">https://gist.github.com/c4milo/3738875</a> but it doesn't escape the data.</p>
  
  <p>How can I escape the data properly so that the browser's XML parser will work?</p>