title: ajax issue on IE8
body: <p>I have an old site that uses xml documents, and when I created it i had firefox and IE7 to test on, and it worked just great. Since then, IE8 appeared, and it seams that the site does no longer work properly.
  This is the current code:</p>
  
  <pre><code>if (window.XMLHttpRequest) 
      {
          XMLHttpRequestObject  = new XMLHttpRequest();
          XMLHttpRequestObject.overrideMimeType("text/xml");
          XMLHttpRequestObject.open("GET", "produse.xml", true);
          XMLHttpRequestObject.onreadystatechange = function()
          {   
              if (XMLHttpRequestObject.readyState == 4) 
              {
                  xmlDocument = XMLHttpRequestObject.responseXML;
                  removeWhitespace(xmlDocument);                                          
              }
          }
      XMLHttpRequestObject.send(null);
      } 
      else if (window.ActiveXObject) 
          {
              xmlDocument= new ActiveXObject("Microsoft.XMLDOM"); 
              xmlDocument.async=false; 
              if (xmlDocument .readyState == 4)
              {
                  xmlDocument.load("produse.xml");    
              }
          }
  </code></pre>
  
  <p>But I get this error:</p>
  
  <pre><code>Message: Object doesn't support this property or method
  Line: 19
  Char: 3
  Code: 0
  </code></pre>
  
  <p>which relates to:</p>
  
  <pre><code>XMLHttpRequestObject.overrideMimeType("text/xml");
  </code></pre>
  
  <p>What should I use instead?</p>