title: conditionally remove nodes from XML using vbscript
body: <p>I have an xml file that I use to parse data into an HTML file. I'm using vbscript to do this. Before parsing in the data I need to conditionally remove some of the nodes in my file. I have a date on my HTML form that I need to use to compare to dates in the XML file. If the dates are outside the range, then I want to remove the node and any child node under it.</p>
  
  <p>Here is a sample XML:
  <img src="https://i.stack.imgur.com/YKWTg.png" alt="XML Data"></p>
  
  <p>In the above example, if any of the child nodes has an "exp" value that's less than the date on my form, then it should be removed. If there's a child node under it, then it should also be removed. So if the date on my form is 12/5/12, then my first "O" node should be deleted along with the child node under it. All of the nodes have a date so i have to look at each one. The file could be as small as this or have many additional nodes. Can anyone help point me in the right direction? Again, this needs to be done using vbscript.</p>