title: XMLhttp request is not loading
body: <p>Hello i am new in XML HTTP request.
      and I am trying a code to load an XML file but didnt get the desired outcome.</p>
  
  <pre><code>code is :
  
  
  
  `&lt;script&gt;
              if (window.XMLHttpRequest)
          {
              var xhttp=new XMLHttpRequest();
          }
          var url="../src/employee.xml";
          xhttp.open('GET',url,true);
          xhttp.send();
          xmlDoc=xhttp.responseXML;
          document.write("XML document loaded into an XML DOM Object.");
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;`
  </code></pre>
  
  <p>employee is an xml file in the src folder which is
      <code>
      &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;employee&gt;
          &lt;branch="cse"&gt;
              &lt;name&gt;Rahul&lt;/name&gt;
              &lt;age&gt;21&lt;/age&gt;
              &lt;/branch&gt;
      &lt;/employee&gt; 
  </code><br>
  Thank You in advance.</p>