title: VBScript - Select multiple xml nodes that use a self-closing tag
body: <p>I know that in vbscript we can use documentElement.SelectNodes() to select multiple xml nodes such as in the following example,</p>
  
  <pre><code>&lt;Vocabulary&gt; 
   &lt;Word type="noun" level="1"&gt; 
    &lt;English&gt;cat&lt;/English&gt; 
    &lt;Spanish&gt;gato&lt;/Spanish&gt; 
   &lt;/Word&gt; 
   &lt;Word type="verb" level="1"&gt; 
    &lt;English&gt;speak&lt;/English&gt; 
    &lt;Spanish&gt;hablar&lt;/Spanish&gt; 
   &lt;/Word&gt; 
   &lt;Word type="adj" level="1"&gt; 
    &lt;English&gt;big&lt;/English&gt; 
    &lt;Spanish&gt;grande&lt;/Spanish&gt; 
   &lt;/Word&gt; 
  &lt;/Vocabulary&gt;
  </code></pre>
  
  <p>Using:</p>
  
  <pre><code>Set NodeList = objXMLDoc.documentElement.selectNodes("Word/English") 
  </code></pre>
  
  <p>But how can the same be done for nodes without a closing tag that instead use a self-closing bracket: </p>
  
  <pre><code>&lt;Vocabulary&gt; 
   &lt;Word type="adj" level="1"&gt; 
    &lt;English Text="big" /&gt;
    &lt;Spanish Text="grande" /&gt;
   &lt;/Word&gt; 
  &lt;/Vocabulary&gt;
  </code></pre>
  
  <p>Basically I need to get an array of nodes like this, and loop through getting the attribute value 'Text', for instance.</p>