title: Is there something like a "CSS selector" or XPath grep?
body: <p>I need to find all places in a bunch of HTML files, that lie in following structure (CSS):</p>
  
  <pre><code>div.a ul.b
  </code></pre>
  
  <p>or XPath:</p>
  
  <pre><code>//div[@class="a"]//div[@class="b"]
  </code></pre>
  
  <p><code>grep</code> doesn't help me here. Is there a command-line tool that returns all files (and optionally all places therein), that match this criterium? I.e., that returns file names, if the file matches a certain HTML or XML structure.</p>