title: Parsing XML file with NSXMLParser - getting values
body: <p>I've got a XML file which contains some data I would like to use:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  
  &lt;items&gt;
  &lt;item name="product" price="19.95" where="store"&gt;
  This is the first product.
  &lt;/item&gt;
  
  &lt;item name="product2" price="39.95" where="online"&gt;
  This is the second product.
  &lt;/item&gt;
  
  &lt;item name="product3" price="99.95" where="garagesale"&gt;
  This is the third product.
  &lt;/item&gt;
  
  &lt;/items&gt;
  </code></pre>
  
  <p>If I made 4 arrays, one for the name, one for the price, one for where it was bought and one for its description, how would I get the data into the arrays?</p>
  
  <p>I figured using NSXMLParser, but couldn't get <code>name</code>, <code>price</code>, <code>where</code> or the description.</p>
  
  <p>I'm stuck on how to do this.</p>
  
  <p>Any help appreciated.</p>