title: Find immediate descendants with PHP Simple DOM parser
body: <p>I would like to be able to do the equivalent of </p>
  
  <pre><code>$html-&gt;find("#foo&gt;ul")
  </code></pre>
  
  <p>But the PHP Simple DOM library doesn't recognize the "immediate descendant" selector <code>&gt;</code> and so finds all <code>&lt;ul&gt;</code> items under <code>#foo</code> including those that are nested deeper in the dom. </p>
  
  <p>What would you recommend as the best way to grab the immediate descendants that are of a specific type?</p>