title: xpath with condition
body: <p>How can I get an element in Xpath using complex condition?</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;stock xmlns="http://localhost/aaabbb"&gt;
  &lt;item item-id="1"&gt;
   &lt;name xml:format="short"&gt;This is a short name&lt;/name&gt;
   &lt;name xml:format="long"&gt;This is a LONG name&lt;/name&gt;
  &lt;/item&gt;
  &lt;/stock&gt;
  </code></pre>
  
  <p><strong>Target:</strong> to get the text of the  tag WHERE xml:format="long".</p>
  
  <p>Thanks in advance for your help!</p>