title: How can I match on an attribute that contains a certain string?
body: <p>I am having a problem selecting nodes by attribute when the attributes contains more than one word.  For example:</p>
  
  <pre><code>&lt;div class="atag btag" /&gt;
  </code></pre>
  
  <p>This is my xpath expression: </p>
  
  <p><code>//*[@class='atag']</code></p>
  
  <p>The expression works with </p>
  
  <p><code>&lt;div class="atag" /&gt;</code> </p>
  
  <p>but not for the previous example.  How can I select the <code>&lt;div&gt;</code>?</p>