title: Extjs model array of string mapping
body: <p>It seems to be very basic question, but happens to kill lot of my time.</p>
  
  <p>How can I map following in to <code>Ext.data.Model</code>?</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;Principal&gt;STEMMED CORP.&lt;/Principal&gt;
  &lt;BusinessDefinitions&gt;
      &lt;value&gt;NY CLIENTS CORE&lt;/value&gt;
      &lt;value&gt;US LISTED DERIVS- STOCK,ADR,ETF&lt;/value&gt;
      &lt;value&gt;US CLIENT SITE TRADING&lt;/value&gt;
      &lt;value&gt;SYNDICATES - ADRS AND CBS&lt;/value&gt;
      &lt;value&gt;GWM CAPITAL MARKETS&lt;/value&gt;
  &lt;/BusinessDefinitions&gt;
  &lt;countryOfResidence&gt;USA&lt;/countryOfResidence&gt;
  </code></pre>
  
  <p>Problem is, I unable to figure out how to get array of string for <code>BusinessDefinitions</code> against each value.</p>
  
  <p>The following field is what I have added to <code>Model.fields</code>:</p>
  
  <pre class="lang-js prettyprint-override"><code>// Business Definition(s)
  {
      name: 'BusinessDefinitions',
      type: 'auto',
      mapping: 'value',
      convert: function(n, record) {
          console.log('BusinessDefinition: ' + n);
          return n;
      }                       
  } 
  </code></pre>
  
  <p>I have tried other combinations as well, but nothing seem to work.</p>