title: Getting text between xml tags with minidom
body: <p>I have this sample xml document snippet</p>
  
  <pre><code>&lt;root&gt;
      &lt;foo&gt;bar&lt;/foo&gt;
      &lt;foo&gt;baz&lt;/foo&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>I'm using python's minidom method from xml.dom.  I am reading in tags with getElementsByTagName("foo").  How do I get the text between the tags?  And if the tags were nested, how would I get those?</p>