title: Iterating through XML tags using bash
body: <p>I have an XML file that contains the following -</p>
  
  <pre><code>&lt;File Name="something.txt" &gt;
   &lt;EmailWhenMissing&gt;Customer&lt;/EmailWhenMissing&gt;
   &lt;CustomerEmail&gt;somebody@email.com&lt;/CustomerEmail&gt;
  &lt;/File&gt;
  &lt;File Name="somethingElse.txt" &gt;
   &lt;EmailWhenMissing&gt;Customer&lt;/EmailWhenMissing&gt;
   &lt;CustomerEmail&gt;somebodyelse@email.com&lt;/CustomerEmail&gt;
  &lt;/File&gt;
  </code></pre>
  
  <p>Is there any way, or a best way to loop through each <code>&lt;File&gt;</code> element so that I can execute commands on them separately? (i.e. so that I would be able to identify which File tags have blank or missing elements)</p>