title: How to select a node using XPath if sibling node has a specific value?
body: <p>I have the following document:</p>
  
  <pre><code>&lt;a&gt;
    &lt;bb&gt;abc&lt;/bb&gt;
    &lt;cc&gt;ccc&lt;/cc&gt;
    &lt;dd&gt;ddd&lt;/dd&gt;
  &lt;/a&gt;
  &lt;a&gt;
    &lt;bb&gt;zz&lt;/bb&gt;
    &lt;cc&gt;1&lt;/cc&gt;
    &lt;dd&gt;2&lt;/dd&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>How can I get the value of <code>&lt;cc&gt;</code> using XPath  if <code>&lt;bb&gt;</code> is <code>zz</code>?</p>