title: how do I filter values from XML file in python
body: <p>I have a basic grasp of XML and python and have been using minidom with some success. I have run into a situation where I am unable to get the values I want from an XML file. Here is the basic structure of the pre-existing file.</p>
  
  <pre><code>&lt;localization&gt;
      &lt;b n="Stats"&gt;
          &lt;l k="SomeStat1"&gt;
              &lt;v&gt;10&lt;/v&gt;
          &lt;/l&gt;
          &lt;l k="SomeStat2"&gt;
              &lt;v&gt;6&lt;/v&gt;
          &lt;/l&gt;
      &lt;/b&gt;
      &lt;b n="Levels"&gt;
          &lt;l k="Level1"&gt;
              &lt;v&gt;Beginner Level&lt;/v&gt;
          &lt;/l&gt;
          &lt;l k="Level2"&gt;
              &lt;v&gt;Intermediate Level&lt;/v&gt;
          &lt;/l&gt;
      &lt;/b&gt;
  &lt;/localization&gt;
  </code></pre>
  
  <p>There are about 15 different <code>&lt;b&gt;</code> tags with dozens of  children. What I'd like to do is, if given a level number(1), is find the <code>&lt;v&gt;</code> node for the corresponding level. I just have no idea how to go about this. </p>