title: Query XML Node and nothing is returned
body: <p>Source file contains, for example (note the multiple <code>&lt;?xml</code> lines):</p>
  
  <pre><code>08/29/2018
  08:47:21
  &lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;ExtendedData&gt;&lt;Header&gt;&lt;Date&gt;08/29/18&lt;/Date&gt;.. other data&lt;/ExtendedData&gt;
  08/29/2018
  08:50:53
  &lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;ExtendedData&gt;&lt;Header&gt;&lt;Date&gt;08/29/18&lt;/Date&gt;.. other data&lt;/ExtendedData&gt;
  </code></pre>
  
  <p>Need to query the xml with VBScript and we do not have the option of PowerShell (I know it would be better).</p>
  
  <p>I used the following TechNet article to get the start of basis of the script I am using:
  <a href="https://technet.microsoft.com/en-us/library/2008.10.heyscriptingguy.aspx" rel="nofollow noreferrer">https://technet.microsoft.com/en-us/library/2008.10.heyscriptingguy.aspx</a></p>
  
  <pre><code>Option Explicit
  Const ForReading = 1, ForWriting = 2, ForAppending = 8
  Dim FL,oFSO,objFolder,colFiles,objFile,FLPath,FLName,f1,line,xmlDoc,colNodes,objNode,strDate
  
  Set oFSO = CreateObject("Scripting.FileSystemObject")
  Set objFolder = oFSO.GetFolder("H:\Documents\Journal_Files")
  Set colFiles = objFolder.Files
  For Each objFile In colFiles
      FLPath = objFile.Path
      FLName = objFile.Name
      If InStr(FLName, ".jrn") &gt; 0 Then
          'WScript.Echo FLPath
          Set xmlDoc = CreateObject("Microsoft.XMLDOM")
          xmlDoc.Async = "False"
          xmlDoc.Load(FLPath)
          Set colNodes=xmlDoc.selectNodes ("//ExtendedData/Header/Date")
          For Each objNode in colNodes
              Wscript.Echo objNode.Text 
          Next
      end if
  next
  </code></pre>
  
  <p>The issue is that there is nothing returned for date.</p>