title: How to convert (or serialize) javascript data object (or model) to xml using ExtJs
body: <ol>
  <li>How do I convert that instance to XML? </li>
  </ol>
  
  <p>I am working with ExtJs 4.2. I have an instance of an ExtJs model.</p>
  
  <ol start="2">
  <li>How do I convert that to XML? </li>
  </ol>
  
  <p>I have an anonymous JavaScript object (with a couple of properties).</p>
  
  <p>I am not sure if the answers for both of the above is same. The XML will be sent as body to a POST operation against a third party web service.</p>