title: How to get only first level divs?
body: <p>I have a div with an id of <code>content</code> and I want to get the <code>id</code> of the first level <code>div</code> elements, eg. <code>box1</code>, <code>box2</code>, <code>box3</code>. How can this be done ?</p>
  
  <pre><code>&lt;div id="content"&gt;
      &lt;div id="box1" class="box1class"&gt;
          &lt;div&gt;...&lt;/div&gt;
      &lt;/div&gt;
      &lt;div id="box2" class="box1class"&gt;
          &lt;div&gt;...&lt;/div&gt;
      &lt;/div&gt;
      &lt;div id="box3" class="box1class"&gt;
          &lt;div&gt;...&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>