title: Selenium/java-xpath for xlink:href attribute
body: <p>I tried to locate <code>use</code> element with attribute value <code>'#aaa'</code> for below snippet</p>
  
  <pre><code>&lt;svg&gt;
      &lt;use xlink:href='#aaa'&gt;&lt;/use&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p>I was able to locate using css selector <code>use[* |href='#aaa']</code> . But I require it in xpath. I tried below xpath but it is not working</p>
  
  <pre><code>(//*[name()='use'])[ * ='#aaa' or @href='#aaa']
  </code></pre>
  
  <p>Note :I need to use the value <code>'#aaa'</code> to differentiate from other elements.</p>
  
  <p>Could anyone please help to construct this xpath.</p>