title: How two combine two xpath expressions into one?
body: <p>Still fighting. Having these two xpath-expressions, both working, need to combine them into one:</p>
  
  <pre><code>(1) //scale[@gender="*" or @gender="m"][@age="*" or @age="39-59"]
  
  (2) //d[@scid="hi"][@raw="10"]/@t
  </code></pre>
  
  <p>This is the XML (snippet):</p>
  
  <pre><code>&lt;scales&gt;
      &lt;scale id="1" gender="*" age="*"&gt;
          &lt;d scid="hi" raw="10" t="76" /&gt;
          &lt;d scid="pn" raw="12" t="80" /&gt;
      &lt;/scale&gt;
      &lt;scale id="2" gender="m" age="*"&gt;
          &lt;d scid="hi" raw="8" t="79" /&gt;
          &lt;d scid="pn" raw="2" t="50" /&gt;
      &lt;/scale&gt;
      &lt;scale id="3" gender="*" age="19-39"&gt;
          &lt;d scid="hi" raw="0" t="48" /&gt;
          &lt;d scid="pn" raw="10" t="49" /&gt;
      &lt;/scale&gt;
  &lt;/scales&gt;
  </code></pre>
  
  <p>Tried</p>
  
  <pre><code>//scale[@gender="*" or @gender="m"][@age="*" or @age="39-59"]/d[@scid="hi"][@raw="10"]@t
  </code></pre>
  
  <p>--> failed.</p>