title: Grep an XML file for certain patterns
body: <p>I have a large XML file that has tens of thousands of the same elements:</p>
  
  <pre><code>&lt;rootElem&gt;
      &lt;fizz buzz="true"&gt;234&lt;/fizz&gt;
      &lt;fizz buzz="false"&gt;384&lt;/fizz&gt;
      &lt;fizz buzz="true"&gt;&lt;/fizz&gt;
      &lt;fizz buzz="true"&gt;39494&lt;/fizz&gt;
      &lt;fizz/&gt;
  &lt;/rootElem&gt;
  </code></pre>
  
  <p>I'd like to run a <code>grep</code> that prints out any <code>&lt;fizz&gt;</code> elements that do not contain text/body data (the numbers in between the opening &amp; closing tags). In the example above, the <code>grep</code> would produce 2 lines for the 3rd and 5th <code>&lt;fizz&gt;</code> elements that do not contain the numeric data. The file name is <code>fizzes_20.xml</code>. I tried running the following but to no avail:</p>
  
  <ul>
  <li><code>grep fizzes_20.xml "&gt;&lt;/&gt;"</code></li>
  <li><code>grep fizzes_20.xml "/&gt;"</code></li>
  </ul>
  
  <p>Any ideas? Thanks in advance!</p>