title: How can I use JQuery to get all nodes with an attributes equal to a value?
body: <p>I am getting some XML back from an AJAX call (no surprise) and I want to do something but only on certain nodes and something else on the rest. For example</p>
  
  <pre><code>&lt;xml&gt;
    &lt;node name="x"&gt;
    &lt;/node&gt;
    &lt;node name="x"&gt;
    &lt;/node&gt;
    &lt;node name="y"&gt;
    &lt;/node&gt;
    &lt;node name="z"&gt;
    &lt;/node&gt;
  &lt;/xml&gt;
  </code></pre>
  
  <p>I want all the nodes with name x to go to one table and I want all the others to go to another table.</p>