title: Parse single XML entry in classic ASP
body: <p>I am trying to parse a single XML entry with no name in ASP classic and having issues getting it to resolve to an object?</p>
  
  <p>Here is what I am trying:</p>
  
  <pre><code>result = xmlDoc.selectSingleNode("//Boolean")
  </code></pre>
  
  <p>I have also tried:</p>
  
  <pre><code>result = xmlDoc.selectSingleNode("//Boolean").Attributes.Text
  </code></pre>
  
  <p>Neither of them return an object, this is my first time working with XML and I haven't got a clue how to get an object without a name.</p>
  
  <p>Here is the XML results file:</p>
  
  <pre><code>&lt;boolean&gt;true&lt;/boolean&gt;
  </code></pre>
  
  <p>And here is the error:</p>
  
  <pre><code>Microsoft VBScript runtime  error '800a01a8'
  
  Object required: 'xmlDoc.selectSingleNode(...)' 
  </code></pre>
  
  <p>How xmldoc is being populated:</p>
  
  <pre><code>set xmlDoc = createObject("MSXML2.DOMDocument")
  xmlDoc.async = False
  xmlDoc.setProperty "ServerHTTPRequest", true
  
  
  url = "http://localhost:81/api/logging/Service.svc/xml/LogEvent?"
  
  //Create the http string
  url = url &amp; "sessionId=" &amp; sessionId
  url = url &amp; "source=" &amp; source
  url = url &amp; "action=" &amp; action
  url = url &amp; "parameters=" &amp; parameters
  
  xmlDoc.load(url)
  
  result = xmlDoc.selectSingleNode("//Boolean")
  </code></pre>