How to get the attribute value of an item of a string array?
<p>My xml is like this:</p>

<pre><code>&lt;string-array name="persons_array"&gt;
        &lt;item deptcode="11S01"&gt;person 1&lt;/item&gt;
        &lt;item deptcode="12S01"&gt;person 2&lt;/item&gt;
        &lt;item deptcode="20S01"&gt;person 3&lt;/item&gt;
        &lt;item deptcode="35S04"&gt;person N&lt;/item&gt;
    &lt;/string-array&gt;
</code></pre>

<p>All I need is to get the deptcode and put it in an editbox.</p>

<p>Ty </p>
