title: Select on multiple criteria with XPath
body: <p>I have an XML document which looks something like this:</p>
  
  <pre><code>&lt;meadinkent&gt;
   &lt;record&gt;
    &lt;comp_div&gt;MENSWEAR&lt;/comp_div&gt; 
    &lt;sty_ret_type&gt;ACCESSORIES&lt;/sty_ret_type&gt; 
    &lt;sty_pdt_type&gt;BELTS&lt;/sty_pdt_type&gt; 
    &lt;pdt_category&gt;AWESOME_BELTS&lt;/pdt_category&gt; 
    &lt;/record&gt;
  &lt;medinkent&gt;
  </code></pre>
  
  <p>I want to useXPath to select nodes which match all four elements and I'm having trouble getting the boolean syntax right. I'm trying this to match  the first two just as a test:</p>
  
  <pre><code>"/meadinkent/record/comp_div[.='" &amp; comp_div &amp; "'] and /meadinkent/record/sty_ret_type[.='" &amp; sty_ret_type &amp; "']"
  </code></pre>
  
  <p>Which is failing, saying no nodes are returned. Obviously I'm being very stupid - what am I doing wrong?</p>
  
  <p>Cheers,
  mAtt</p>