jquery ajax call with xml query not working. Need advice
<p>I've written some code that is supposed to load an xml file via AJAX, parse a couple variables, and alert them to the screen.  It isn't working...  Can any guru's out there tell me what I've done wrong?? </p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
$(document).ready(function(){
    $.get("http://www.greenshipping.com/api/requestAccountSummary.php?UID=7ef364b35ca79b0497f391da7f6776ab", {}, function(xml) {
        $('result', xml).each(function(i) {
            num_shipments = $(this).find('num_shipments_offset').text();
            lbs_carbon = $(this).find('total_lbs_carbon_offset').text();
            alert("num_shipments:"+num_shipments+" lbs_carbon:"+lbs_carbon);
        });
    });
});
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>
