title: Not getting attribute from a xml file into asp
body: <p>I have the following xml result from this link - <a href="https://api.eveonline.com/eve/CharacterID.xml.aspx?names=BorisKarlov" rel="nofollow">https://api.eveonline.com/eve/CharacterID.xml.aspx?names=BorisKarlov</a></p>
  
  <pre><code>&lt;eveapi version="2"&gt;
  &lt;currentTime&gt;2013-01-16 18:57:38&lt;/currentTime&gt;
  &lt;result&gt;
  &lt;rowset name="characters" key="characterID" columns="name,characterID"&gt;
  &lt;row name="BorisKarlov" characterID="315363291"/&gt;
  &lt;/rowset&gt;
  &lt;/result&gt;
  &lt;cachedUntil&gt;2013-02-16 18:57:38&lt;/cachedUntil&gt;
  &lt;/eveapi&gt;
  </code></pre>
  
  <p>and I am trying to extract the characterID into asp.  I am using the following code,</p>
  
  <pre><code>Set oXML = Server.CreateObject("Msxml2.DOMDocument.6.0")
  oXML.LoadXML("https://api.eveonline.com/eve/CharacterID.xml.aspx?names=BorisKarlov")
  
  Set oRoot = oXML.selectSingleNode("//result")
  
  For Each oNode In oRoot.childNodes
    response.Write oNode.Attributes.getNamedItem("characterID").Text
  Next 
  
  Set oXML = Nothing 
  </code></pre>
  
  <p>All i keep getting is the following error:</p>
  
  <p>Microsoft VBScript runtime error '800a01a8'</p>
  
  <p>Object required: 'oRoot'</p>
  
  <p>.............</p>
  
  <p>I can only assume that Set oRoot = oXML.selectSingleNode("//result") is not actually generating any data and therefore throwing up the error in the next line.</p>
  
  <p>Can anyone please shed some light on my problem?</p>