title: Dojo: How do I list all items in an dojox.data.XmlStore to the console?
body: <p>I'm thinking this is a question with a simple answer ... I just want to loop through the items in an XmlStore and print each one out... </p>
  
  <p>XML: (houses.xml)</p>
  
  <pre><code>&lt;test&gt;
    &lt;home&gt;
      &lt;name&gt;Perris, CA&lt;/name&gt;
      &lt;addr&gt;123 Wilson Ave&lt;/home&gt;
    &lt;/home&gt;
    &lt;home&gt;
      &lt;name&gt;Palmdale, CA&lt;/name&gt;
      &lt;addr&gt;345 Terrace Ave&lt;/addr&gt;
    &lt;/home&gt;
  &lt;/test&gt;
  </code></pre>
  
  <p>in jQuery the code looks like this:</p>
  
  <pre><code>$.get("houses.xml", function(xml){
      $(xml).find('marker').each(function(){
          var name = $(this).find('name').text();
          var addr = $(this).find('addr').text();
          $("&lt;div&gt;" + name + " - " + addr + "&lt;/div&gt;&lt;br&gt;").appendTo("#listDiv");
      });
  });
  </code></pre>
  
  <p>I want to keep dojo relevant so it's got to be at least this simple...</p>
  
  <p>so far:</p>
  
  <pre><code>dojo.require("dojox.data.XmlStore");
  var store = new dojox.data.XmlStore({url: "houses.xml", rootItem: "marker"});
  </code></pre>
  
  <p>I can't find ANY references to looping through the XmlStore... Any help would be appreciated.</p>
  
  <p>Thanks - Nigel</p>