title: Getting products from a category in XML
body: <p>I have an XML file that I am using Ajax to read:</p>
  
  <pre><code>&lt;prod id="6786345"&gt;
      &lt;pId&gt;0436&lt;/pId&gt;
      &lt;text&gt;
          &lt;name&gt;Blue widget&lt;/name&gt;
          &lt;desc&gt;Stunning blue widget&lt;/desc&gt;
      &lt;/text&gt;
      &lt;cat&gt;
          &lt;myCatId&gt;252&lt;/myCatId&gt;
          &lt;myCat&gt;Widgets&lt;/myCat&gt;
      &lt;/cat&gt;
      &lt;pId&gt;0437&lt;/pId&gt;
      &lt;text&gt;
          &lt;name&gt;Red widget&lt;/name&gt;
          &lt;desc&gt;Amazing red widget&lt;/desc&gt;
      &lt;/text&gt;
      &lt;cat&gt;
          &lt;myCatId&gt;252&lt;/myCatId&gt;
          &lt;myCat&gt;Widgets&lt;/myCat&gt;
      &lt;/cat&gt;
      &lt;pId&gt;0438&lt;/pId&gt;
      &lt;text&gt;
          &lt;name&gt;Cheeseburger&lt;/name&gt;
          &lt;desc&gt;Healthy delight&lt;/desc&gt;
      &lt;/text&gt;
      &lt;cat&gt;
          &lt;myCatId&gt;253&lt;/myCatId&gt;
          &lt;myCat&gt;Burgers&lt;/myCat&gt;
      &lt;/cat&gt;
  &lt;/prod&gt;
  </code></pre>
  
  <p>And my working Ajax that pulls just the name without belonging to a category is this:</p>
  
  <pre><code>$(document).ready(function(){
          $.ajax({
          type: "GET",
          url: "feed.xml",
          dataType: "xml",
          success: function(xml) {
  
          $(xml).find('text').each(function(){
  
          var title = $(this).children('name').text();
  </code></pre>
  
  <p>How do I return the text name for just items in category 252?</p>