Jquery ajax call to a xml file works in safari bot not in IE6, why?
<p>Im trying to load an xml file using the jquery ajax function,it works fine in safari but fails in IE6,is there any reason why this the case?</p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
    &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
    &lt;head&gt;
        &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
        &lt;link rel="stylesheet" type="text/css" media="all" href="style.css" /&gt;
        &lt;script type="text/javascript" src="jquery.js"&gt;&lt;/script&gt;
        &lt;title&gt;Reading XML with jQuery&lt;/title&gt;
         &lt;script&gt;
            $(document).ready(function(){
                $.ajax({
                    type: "GET",
                    url: "sites.xml",
                    dataType: "xml",
                    success: function(xml) {
                        $(xml).find('site').each(function(){
                            var id = $(this).attr('id');
                            var title = $(this).find('title').text();
                            var url = $(this).find('url').text();
                            $('&lt;div class="items" id="link_'+id+'"&gt;&lt;/div&gt;').html('&lt;a href="'+url+'"&gt;'+title+'&lt;/a&gt;').appendTo('#page-wrap');
                            $(this).find('desc').each(function(){
                                var brief = $(this).find('brief').text();
                                var long = $(this).find('long').text();
                                $('&lt;div class="brief"&gt;&lt;/div&gt;').html(brief).appendTo('#link_'+id);
                                $('&lt;div class="long"&gt;&lt;/div&gt;').html(long).appendTo('#link_'+id);
                            });
                        });
                    }
                });
            });
         &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;div id="page-wrap"&gt;
            &lt;h1&gt;Reading XML with jQuery&lt;/h1&gt;
         &lt;/div&gt;
    &lt;/body&gt;
    &lt;/html&gt;
</code></pre>

<p>Thanks</p>
