XML parser not working except for IE

XML parser not working except for IE

Hi guys!
Trying to parse an xml using jquery.
This seems to work only With IE 11 (didn't try older releases). Chrome, Opera and Firefox don't do anything..

  1. <script type="text/javascript">
  2.       if (window.XMLHttpRequest)
  3.       {
  4.         xmlHttp = new XMLHttpRequest();
  5.       }
  6.       else
  7.       {
  8.         xmlHttp = new ActiveXObject("Microsoft.XmlHTTP");
  9.       }
  10.       xmlHttp.open("GET", "DataSources/XML/XMLCountries.XML", false);
  11.       xmlHttp.send();
  12.       xmlDoc = xmlHttp.responseXML;
  13.       var $xml = $(xmlDoc);
  14.       $xml.find('Country').each(function () {
  15.         alert($(this).attr('Name'));
  16.       });
  17.     </script>

This is the XML file:

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <CountriesList xmlns="XMLCountries.xsd">
  3.  <Country Name="England" NavigateUrl="" ImageUrl="~/Images/flags/shiny/16/England.png" Tooltip="English Leagues and Cups"/>
  4. <Country Name="France" NavigateUrl="" ImageUrl="~/Images/flags/shiny/16/France.png" Tooltip="French Leagues and Cups"/>
  5.  <Country Name="Germany" NavigateUrl="" ImageUrl="~/Images/flags/shiny/16/Germany.png" Tooltip="German Leagues and Cups"/>
  6.   <Country Name="Italy" NavigateUrl="" ImageUrl="~/Images/flags/shiny/16/Italy.png" Tooltip="German Leagues and Cups"/>
  7.   <Country Name="Spain" NavigateUrl="" ImageUrl="~/Images/flags/shiny/16/Spain.png" Tooltip="Spanish Leagues and Cups"/>
  8.   <Country Name="Portugal" NavigateUrl="" ImageUrl="~/Images/flags/shiny/16/Portugal.png" Tooltip="Portugal Leagues and Cups"/>
  9. </CountriesList>

What am I missing?? I'm quite sure IE 11 uses XMLHttprequest in place of Microsoft.XMLHttp, so this shouldn't be an issue of the XMLHttprequest.
Thx for your help!