title: beautifulsoup: find the n-th element's sibling
body: <p>I have a complex html DOM tree of the following nature:</p>
  
  <pre><code>&lt;table&gt;
      ...
      &lt;tr&gt;
          &lt;td&gt;
              ...
          &lt;/td&gt;
          &lt;td&gt;
              &lt;table&gt;
                  &lt;tr&gt;
                      &lt;td&gt;
                          &lt;!-- inner most table --&gt;
                          &lt;table&gt;
                              ...
                          &lt;/table&gt;
  
                          &lt;h2&gt;This is hell!&lt;/h2&gt;
                      &lt;td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I have some logic to find out the inner most table. But after having found it, I need to get the next sibling element (h2). Is there anyway you can do this?</p>