title: Receive XML response from Cross-Domain Ajax request with jQuery
body: <p>I trying to make an ajax request to another domain, it already works, but now I have another problem...</p>
  
  <p>This is my code:</p>
  
  <pre><code>function getChannelMessages(channel) {
      jQuery.support.cors = true;
      $.ajax(channel, {
          cache : true,
          type : "get",
          data : _channels[channel].request,
          global : false,
          dataType : "jsonp text xml",
          jsonp : false,
          success : function jsonpCallback (response) {
              console.log(response);
              updateChannelRequest(channel);
              //getChannelMessages(channel);
          }
      });
  }
  </code></pre>
  
  <p>As I said, it already works, but the problem is the server returns an XML (Is not my server, is another server from another company - a web service - so I can not change what it returns) and as jsonp expects an json it fails with the error:</p>
  
  <pre><code>SyntaxError: syntax error
  &lt;?xml version="1.0"?&gt;&lt;ReceiveMessageResponse xmlns="http://q ... /&gt;
  </code></pre>
  
  <p>According to jQuery documentation, adding <code>jsonp text xml</code> should make the magic, converting the response to simple text and then parsing it as XML, but it does not works.</p>
  
  <p>I was already able to make it using YQL, but it has a limit of 10,000 requests per hour, and the system I'm developing will have up to 10 million request per hour. For that same reason, I can not "proxy" in my own server those requests...</p>
  
  <p>FYI: I'm trying to get the newest messages from SQS, so if there is anyway to tell it to return the data as json, it will be easier and better, but I have not find anything either in the documentation...</p>