title: handling xml in vbscript, new element causing problems
body: <p>I'm guessing this is pretty straightforward but I'm not well versed in handling xml data.</p>
  
  <p>I have some vbscript code that processes xml data from a third party in this format.</p>
  
  <pre><code>&lt;data&gt;
      &lt;thing1&gt;some thing&lt;/thing1&gt;
      &lt;thing2&gt;some other thing&lt;/thing2&gt;
      &lt;parameter&gt;
          &lt;parameterName&gt;customThing1&lt;/paramterName&gt;
          &lt;parameterValue&gt;this is the data i want&lt;/parameterValue&gt;
      &lt;/parameter&gt;
  &lt;/data&gt;
  </code></pre>
  
  <p>Previously, all data came in like thing1 or thing2. Now we have had to add a custom field to the data, and the third party is sending it in this 'parameter' format.</p>
  
  <p>I get the old data like so: (objXmlRequest is an MSXML2.DomDocument object)</p>
  
  <pre><code>thing1 = objXmlRequest.documentElement.selectSingleNode("thing1").firstChild.nodeValue
  </code></pre>
  
  <p>Now I need to get the value for customThing1, but I don't want to just pull 'parameterValue' because if we add another custom field in the future that will be a problem. So I need to make sure I'm getting paramterValue where parameterName = customThing1. How would I do that?</p>