title: XPath href attributes value under both tag a and tag link
body: <p>How Could I get all the href attributes under tag either a or link. </p>
  
  <p>Say my html looks like this:</p>
  
  <pre><code>&lt;div&gt;
      &lt;a href="www.a.com"&gt;Here&lt;/a&gt;
      &lt;link rel="name" href="www.b.com"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I know how to get those links separately but I want to know how to do them together in one go:</p>
  
  <pre><code>$x('//a/@href')
  $x('//link/@href')
  </code></pre>
  
  <p>How to put them together? Something like:</p>
  
  <pre><code>$x('//tag in (a,link)/@href')
  </code></pre>
  
  <p>Thanks!</p>