title: Parsing XML Inner XML tags Objective-C
body: <p>I would like to create an NSDictionary or (NSArray) full of NSDictionary objects for each station in the following XML:</p>
  
  <pre><code>&lt;stations lastUpdate="1328986911319" version="2.0"&gt;
      &lt;station&gt;
          &lt;id&gt;1&lt;/id&gt;
          &lt;name&gt;River Street , Clerkenwell&lt;/name&gt;
          &lt;terminalName&gt;001023&lt;/terminalName&gt;
          &lt;lat&gt;51.52916347&lt;/lat&gt;
          &lt;long&gt;-0.109970527&lt;/long&gt;
          &lt;installed&gt;true&lt;/installed&gt;
          &lt;locked&gt;false&lt;/locked&gt;
          &lt;installDate&gt;1278947280000&lt;/installDate&gt;
          &lt;removalDate/&gt;
          &lt;temporary&gt;false&lt;/temporary&gt;
          &lt;nbBikes&gt;12&lt;/nbBikes&gt;
          &lt;nbEmptyDocks&gt;7&lt;/nbEmptyDocks&gt;
          &lt;nbDocks&gt;19&lt;/nbDocks&gt;
      &lt;/station&gt;
  
      ... more...
  
      &lt;station&gt;
          &lt;id&gt;260&lt;/id&gt;
          &lt;name&gt;Broadwick Street, Soho&lt;/name&gt;
          &lt;terminalName&gt;003489&lt;/terminalName&gt;
          &lt;lat&gt;51.5136846&lt;/lat&gt;
          &lt;long&gt;-0.135580879&lt;/long&gt;
          &lt;installed&gt;true&lt;/installed&gt;
          &lt;locked&gt;false&lt;/locked&gt;
          &lt;installDate&gt;1279711020000&lt;/installDate&gt;
          &lt;removalDate/&gt;
          &lt;temporary&gt;false&lt;/temporary&gt;
          &lt;nbBikes&gt;12&lt;/nbBikes&gt;
          &lt;nbEmptyDocks&gt;4&lt;/nbEmptyDocks&gt;
          &lt;nbDocks&gt;18&lt;/nbDocks&gt;
      &lt;/station&gt;
  
      ...
  
   &lt;/stations&gt;
  </code></pre>
  
  <p>What's the best way to achieve this? Right now I have an NSDictionary with one object and one key - "stations", but I want the NSDictionary (or NSArray) of NSDictionarys.</p>
  
  <p>I'm using an XML parser by Troy Brant - <a href="http://troybrant.net/blog/2010/09/simple-xml-to-nsdictionary-converter/" rel="nofollow">http://troybrant.net/blog/2010/09/simple-xml-to-nsdictionary-converter/</a></p>
  
  <p>I'm guessing it's going to involve some looping of some sort but I'm not really sure how to approach this problem. Any help or pointers in the right direction would be much appreciated.</p>
  
  <p>Thanks.</p>