title: How do I parse an XML file that's on a different web server?
body: <p>I have a list of training dates saved into an XML file, and I have a little javascript file that parses all of the training dates and spits them out into a neatly formatted page.  This solution was fine until we decided that we wanted another web-page on another sever to access the same XML file.</p>
  
  <p>Since I cannot use JavaScript to parse an XML file that's located on another server, I figured I'd just use an ASP script.  However, when I run this following, I get a response that there are 0 nodes matching a value which should have several:</p>
  
  <pre><code>&lt;%
  Dim URL, objXML
  URL = "http://www.site.com/feed.xml"
  Set objXML = Server.CreateObject("MSXML2.DOMDocument.3.0")
  objXML.setProperty "ServerHTTPRequest", True
  objXML.async =  False
  objXML.Load(URL)
  
  If objXML.parseError.errorCode &lt;&gt; 0  Then
      Response.Write(objXML.parseError.reason)
      Response.Write(objXML.parseError.errorCode)
  End If
  
  Response.Write(objXML.getElementsByTagName("era").length)
  %&gt;
  </code></pre>
  
  <p>My question is two-fold:</p>
  
  <ol>
  <li>Is there are a way I can use java-script to parse a remote XML file</li>
  <li>If not, why doesn't my code give me the proper response?</li>
  </ol>