title: xpath where clause
body: <p>I am trying to build an xpath query on the following xml file:</p>
  
  <pre><code>&lt;recordGroup&gt;
      &lt;records&gt;
          &lt;year&gt;1985&lt;/year&gt;   
          &lt;album&gt;
              &lt;name&gt; album1 &lt;/name&gt;
              &lt;artist&gt;artist1 &lt;/artist&gt;
              &lt;label&gt; labelA&lt;/label&gt;
          &lt;/album&gt;    
          &lt;album&gt;
              &lt;name&gt;album2 &lt;/name&gt;
              &lt;artist&gt;artist2 &lt;/artist&gt;
              &lt;label&gt; labelB&lt;/label&gt;
          &lt;/album&gt;    
      &lt;/records&gt;      
      &lt;records&gt;
          &lt;year&gt;1986&lt;/year&gt;   
          &lt;album&gt;
              &lt;name&gt;album3 &lt;/name&gt;
              &lt;artist&gt; artist1 &lt;/artist&gt;
              &lt;label&gt;labelC&lt;/label&gt;
          &lt;/album&gt;    
          &lt;album&gt;
              &lt;name&gt;album4 &lt;/name&gt;
              &lt;artist&gt;artist2&lt;/artist&gt;
              &lt;label&gt; labelA&lt;/label&gt;
          &lt;/album&gt;    
      &lt;/records&gt;
  
  &lt;/recordGroup&gt;
  </code></pre>
  
  <p>I want to retrieve the following query: select all records (artist, name &amp; year) where label = 'LabelA'.</p>
  
  <p>The XML structure might not be appropiate to display this data but I am getting this stream from another software so, I cannot change it. </p>
  
  <p>Any suggestions?</p>