title: XPath with multiple conditions
body: <p>What XPath can I use to select any category with a name attribute specified and any child node author with the value specified.</p>
  
  <p>I've tried different variations of the path below with no success:</p>
  
  <pre><code>//quotes/category[@name='Sport' and author="James Small"]
  </code></pre>
  
  <p>The XML:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;quotes&gt;
    &lt;category name="Sport"&gt;
     &lt;author&gt;James Small&lt;quote date="09/02/1985"&gt;Quote One&lt;/quote&gt;&lt;quote             date="11/02/1925"&gt;Quote nine&lt;/quote&gt;&lt;/author&gt;
    &lt;/category&gt;
     &lt;category name="Music"&gt;
     &lt;author&gt;Stephen Swann
   &lt;quote date="04/08/1972"&gt;Quote eleven&lt;/quote&gt;&lt;/author&gt;
    &lt;/category&gt;
    &lt;/quotes&gt;
  </code></pre>