title: Can't access the xml node value with vbscript inside the loop
body: <p>When I want to access the xml data with classic asp this error is seen.</p>
  <p>My XML :</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;soap:Envelope xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:soap=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;&gt;
    &lt;soap:Body&gt;
      &lt;GenerateQRCodeWithSessionResponse xmlns=&quot;WebServices&quot;&gt;
        &lt;GenerateQRCodeWithSessionResult&gt;
          &lt;TicketDetail&gt;
            &lt;Code&gt;0&lt;/Code&gt;
            &lt;Status&gt;string&lt;/Status&gt;
            &lt;EventName&gt;string&lt;/EventName&gt;
            &lt;Stadium&gt;string&lt;/Stadium&gt;
            &lt;TicketNumber&gt;123&lt;/TicketNumber&gt;
            &lt;TicketRate&gt;string&lt;/TicketRate&gt;
            &lt;MatchName&gt;string&lt;/MatchName&gt;
            &lt;MatchTime&gt;string&lt;/MatchTime&gt;
            &lt;FreeTicket&gt;boolean&lt;/FreeTicket&gt;
            &lt;GateNumber&gt;string&lt;/GateNumber&gt;
            &lt;QRCode&gt;string&lt;/QRCode&gt;
            &lt;AvailableTicket&gt;string&lt;/AvailableTicket&gt;
          &lt;/TicketDetail&gt;
          &lt;TicketDetail&gt;
            &lt;Code&gt;string&lt;/Code&gt;
            &lt;Status&gt;string&lt;/Status&gt;
            &lt;EventName&gt;string&lt;/EventName&gt;
            &lt;Stadium&gt;string&lt;/Stadium&gt;
            &lt;TicketNumber&gt;string&lt;/TicketNumber&gt;
            &lt;TicketRate&gt;string&lt;/TicketRate&gt;
            &lt;MatchName&gt;string&lt;/MatchName&gt;
            &lt;MatchTime&gt;string&lt;/MatchTime&gt;
            &lt;FreeTicket&gt;boolean&lt;/FreeTicket&gt;
            &lt;GateNumber&gt;string&lt;/GateNumber&gt;
            &lt;QRCode&gt;string&lt;/QRCode&gt;
            &lt;AvailableTicket&gt;string&lt;/AvailableTicket&gt;
          &lt;/TicketDetail&gt;
        &lt;/GenerateQRCodeWithSessionResult&gt;
      &lt;/GenerateQRCodeWithSessionResponse&gt;
    &lt;/soap:Body&gt;
  &lt;/soap:Envelope&gt;
  </code></pre>
  <p>My Code:</p>
  <pre><code>SET objData = Server.CreateObject(&quot;Microsoft.XMLDOM&quot;)
      objData.async = False
      objData.loadXML(xmldata.txt)
  
      Set colNodes = objData.selectNodes(&quot;//TicketDetail&quot;)
      response.write colNodes.length
  
      For Each objSite in colNodes
          strName = objSite.selectsinglenode (&quot;TicketNumber&quot;).text
  
          response.write(strName)
      Next
  </code></pre>
  <p>The above code is showing</p>
  <ul>
  <li><p>Microsoft VBScript runtime error '800a01a8'</p>
  </li>
  <li><p>Object required: '[object]'</p>
  </li>
  </ul>
  <p>This is shown by</p>
  <blockquote>
  <p>strName = objSite.selectsinglenode (&quot;TicketNumber&quot;).text</p>
  </blockquote>