Read configuration from xml resource with nested elements
<p>I have this xml resource:</p>

<pre><code>&lt;resource&gt;
    &lt;Mail name="mail1"&gt;
        &lt;Host&gt;gmail&lt;/Host&gt;
        &lt;Port&gt;123&lt;/Port&gt;
    &lt;/Mail&gt;
    &lt;Mail name="mail2"&gt;
        &lt;Host&gt;hotmail&lt;/Host&gt;
        &lt;Port&gt;321&lt;/Port&gt;
    &lt;/Mail&gt;
&lt;resource&gt;
</code></pre>

<p>i would like know how can i get all the values of the resource's nested nodes
thanks for the help.
Niv</p>
