title: jQuery traversing problem
body: <p>I have a potentially infinitely nested tree of <code>ol &gt; li</code></p>
  
  <p>given an li in the tree, i need to apply some function to all other <code>li</code>s below the given <code>li</code>, except within the current <code>ol</code>. As an example:</p>
  
  <p>for example:</p>
  
  <pre><code>&lt;ol&gt;
      &lt;li&gt;
          Do not apply to me
          &lt;ol&gt;
              &lt;li&gt;Do not apply to me&lt;/li&gt;
              &lt;li&gt;Do not apply to me&lt;/li&gt;
          &lt;/ol&gt; 
      &lt;/li&gt;
      &lt;li&gt;
          Do not apply to me
          &lt;ol&gt;
              &lt;li id='given'&gt;I am the "given" li&lt;/li&gt;  &lt;------------- you are here
              &lt;li&gt;Do not apply to me&lt;/li&gt;
              &lt;li&gt;
                  Do not apply to me
                  &lt;ol&gt;
                      &lt;li&gt;Do not apply to me&lt;/li&gt;
                      &lt;li&gt;Do not apply to me&lt;/li&gt;
                  &lt;/ol&gt; 
              &lt;/li&gt;
          &lt;/ol&gt; 
      &lt;/li&gt;
      &lt;li&gt;
          Apply to me
      &lt;/li&gt;
      &lt;li&gt;
          Apply to me
          &lt;ol&gt;
              &lt;li&gt;Apply to me&lt;/li&gt;
              &lt;li&gt;
                  Apply to me
                  &lt;ol&gt;
                      &lt;li&gt;Apply to me&lt;/li&gt;
                      &lt;li&gt;Apply to me&lt;/li&gt;
                  &lt;/ol&gt; 
              &lt;/li&gt;
          &lt;/ol&gt; 
      &lt;/li&gt;
  &lt;/ol&gt; 
  </code></pre>
  
  <p>What's the most elegant way to achieve this?</p>
  
  <p>Thanks</p>