title: Need a way to iterate over XML using xmldoc
body: <p>Using Appery.io javascript server side code. Basically a MongoDB. </p>
  
  <p>Libraries being used xmldoc.js 0.1.2 &amp; sax.js 0.5.4</p>
  
  <p>Additional libraries available: Underscore.js 1.5.1 moment.js 2.1.0 Handlebars.js 1.0.0</p>
  
  <p>Using the code below I am able to access a the first single node value I need and insert that one item into the database but I need to way to continue iterating over the xml and continue creating the objects in the database. I would prefer to send this in 1 API call if possible but I don't think it is. Is there a way to iterate over via a loop or something that will "skip" the previously sent items. There is only about 20 results from the url below. </p>
  
  <pre><code>var XHRResponse = XHR2.send("GET",'http://www.bing.com/news?q=Politics&amp;FORM=NSBABR&amp;FORMAT=RSS', {});
  
  
  var Bingresult = new XmlDocument(XHRResponse.body);
  
  var link = Bingresult.valueWithPath("channel.item.link");
  
  var title = Bingresult.valueWithPath("channel.item.title");
  
  var source = Bingresult.valueWithPath("channel.item.News:Source");
  
  var news_image = Bingresult.valueWithPath("channel.item.News:Image");
  
  var pub_date = Bingresult.valueWithPath("channel.item.pubDate");
  
  
  //response.success(Bingresult, "Rss"); Same as console.log//
  
  
  Collection.createObject("55d3d209e4b0d6ee27c97867", "News_", {"link": link,"title": title, "source": source,"news_image": news_image, "pub_date": pub_date})._id;
  </code></pre>