title: Parsing through XML returned by web service with jQuery
body: <p>I'm trying to parse an XML file returned by a webservice with jQuery. Here is the code I have set up, but nothing seems to happen.</p>
  
  <pre><code>$.ajax({
      type: 'GET',
      url: 'http://www.sample.com/webservice',
      dataType: 'xml',
      success: function(xml){
          console.log(xml);
          $(xml).find('movies').each(function(){
              $(this).find('movie').each(function(){
                  var lat = $(this).attr('lat');
                  $('div#lat-info').html('&lt;p&gt;' + lat + '&lt;/p&gt;');           
              });
          });
      }
  });
  </code></pre>
  
  <p>The webservice does not explicitly create a file with '.xml' at the end that I can reference. I must reference the URL to the webservice.</p>