title: HTML Agility Pack Select Nodes with Multiple Attributes
body: <p>This might be a simple and stupid question but I can't seem to find anything on selecting a node that has multiple attribute.  In my case it is a specific class and a specific style.</p>
  
  <p>Here is a snippet from the HTML I am working with.</p>
  
  <pre><code>&lt;div class="buying" style="padding-bottom: 0.75em;"&gt;
  &lt;span class="availGreen"&gt;Blah Blah&lt;/span&gt;&lt;br /&gt; Blah Blah Blah&lt;b&gt;Sold By&lt;/b&gt;.
  &lt;/div&gt;
  </code></pre>
  
  <p>There are many different instances of the class "buying" but only one instance of the div that includes both the buying class and the style="padding-bottom: 0.75em attributes.  I am trying to grab the text inside the  tag.</p>
  
  <p>Here is what I have tried but I got nowhere:</p>
  
  <pre><code>SelectSingleNode("//div[@class='buying'][@style='padding-bottom: 0.75em;']/b").InnerText;
  </code></pre>
  
  <p>And also:</p>
  
  <pre><code>SelectSingleNode("//div[@class='buying' @style='padding-bottom: 0.75em;']/b").InnerText;
  </code></pre>
  
  <p>Neither of these produced any results but I am not sure what else is correct.</p>
  
  <p>Any help is much appreciated!</p>