title: Combining Conditions in XPath and XSLT
body: <p>I am trying to build an XPath select just the 'Phone' number from the following:</p>
  
  <pre><code>&lt;element identifier="ContactPoint" version="Local"&gt;
      &lt;qualifier name="Phone" type="refining"/&gt;
      01234 567890
  &lt;/element&gt;
  &lt;element identifier="ContactPoint" version="Local"&gt;
      &lt;qualifier name="Email" type="refining"/&gt;
      jbloggs@jbloggs.com
  &lt;/element&gt;
  </code></pre>
  
  <p>In my XSLT, I have the following:</p>
  
  <pre><code>&lt;TelNumber&gt;
      &lt;xsl:value-of select="./element[@identifier='ContactPoint']"/&gt;
  &lt;/TelNumber&gt;
  </code></pre>
  
  <p>But obviously this will just select the first instance. How would I combine conditions into one select to ensure I am only selecting the value of "element" with a "Phone" qualifier child?</p>
  
  <p>Thanks!</p>