title: How to read Child Tags in XML file with VBScript?
body: <p>I am trying to get an output from a VBScript that is reading only 1 XML file.
  This XML file is located at C:\scripts\license.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;License xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XM LSchema-instance" xmlns="http://tempuri.org/License.xsd"&gt;
  &lt;Network&gt;
  &lt;NetworkName&gt;TestName&lt;/NetworkName&gt;
  &lt;NetworkID&gt;29&lt;/NetworkID&gt;
  &lt;Region&gt;1&lt;/Region&gt;
  &lt;MaxDisplays&gt;375&lt;/MaxDisplays&gt;
  &lt;Expiry&gt;2017-05-25&lt;/Expiry&gt;
  &lt;Issued&gt;2016-12-11&lt;/Issued&gt;
  &lt;Communicator&gt;ZZ007007007&lt;/Communicator&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>I want to use VBScript for Zabbix Monitoring the Expiry tag in the xml file.</p>
  
  <pre><code>Dim licDate
  Set xmlDoc = CreateObject("Msxml2.DOMDocument")  
  xmlDoc.load("C:\scripts\license.xml")   
  
  licDate = xmlDoc.getElementsByTagName("Expiry").item(0).text
  
  itemInfo= licDate
  MsgBox itemInfo
  </code></pre>
  
  <p>Can't seem to get this code working.
  I get the error: Object required: 'xmlDoc.getElementsByTagName(...).item(...)'</p>