title: Finding the first Preceding Sibling with a particular element
body: <p>Given The following XML:</p>
  
  <pre><code>&lt;Root&gt;
    &lt;NodeA&gt;
      &lt;ChildNodeA/&gt;
      &lt;ChildNodeB/&gt;
    &lt;/NodeA&gt;
    &lt;NodeB&gt;
      &lt;ChildNodeB/&gt;
    &lt;/NodeB&gt;
    &lt;NodeC&gt;
    &lt;/NodeC&gt;
  &lt;/Root&gt;
  </code></pre>
  
  <p>How do I find the first Preceding Siblilng of a particular Node that contains a particular Element.</p>
  
  <p>I.E. If I am at "NodeC" how do I find the first Sibling with "ChildNodeA", in this instance "NodeA"?</p>
  
  <p>Thanks in advance.</p>