title: XPath find all elements with specific child node
body: <p>Could you please help me to find all the elements b which have the child element c in the example below?</p>
  
  <pre><code>&lt;a&gt;
      &lt;b name = "b1"&gt;&lt;/b&gt;
      &lt;b name = "b2"&gt;&lt;c/&gt;&lt;/b&gt;
      &lt;b name = "b3"&gt;&lt;/b&gt;
  &lt;/a&gt;
  </code></pre>
  
  <p>The xpath query must return the b2 element</p>
  
  <p>The second question is
  I want to combine 2 conditions: I want to get the element which have name = "b2" and has the element c
  But this syntax seems not to work: 
  //b[@name='b2' and c] </p>