Get remote xml file by AJAX and parse it with jquery
===


I'm developing a HTML5 application for Blackberry OS 5+.

I'm using jQuery to download and XML file and show it using this function:

    $(document).ready(function()
    {
    	$.ajax({
            type: "GET",
    		url: "http://xxx.com/yyy/mTop",
    		dataType: "xml",
    		success: function(xml) {
     			$(xml).find('item').each(function(){
    				var tipo = $(this).find('tipo').text();
    				var porcentaje = $(this).find('porcentaje').text();
    				$('<div class="items"></div>').html('<p>' + tipo + ' - ' + porcentaje + '</p>').appendTo('#page-wrap');
    			});
    		}
    	});
    });

But I'm getting this error:

    XMLHttpRequest cannot load http://xxx.com/yyy/mTop. Origin file:// is not allowed by Access-Control-Allow-Origin.

How can I parse a remote XML file?