To get the value of inside tag using pull parser
<p>I am having one XML file and I want to parse only useful data from it..</p>

<p>My XML is like this:</p>

<p></p>

<pre><code>&lt;seller&gt;
    &lt;id type="integer"&gt;101&lt;/id&gt;
    &lt;name&gt;James&lt;/name&gt;

       &lt;bidder&gt;
            &lt;id type="integer"&gt;1978271&lt;/id&gt;
            &lt;name&gt;SCJP&lt;/name&gt;
       &lt;/bidder&gt;
&lt;/seller&gt;

&lt;seller&gt;
    &lt;id type="integer"&gt;102&lt;/id&gt;
    &lt;name&gt;Joseph&lt;/name&gt;

       &lt;bidder&gt;
            &lt;id type="integer"&gt;1978272&lt;/id&gt;
            &lt;name&gt;MCST&lt;/name&gt;
       &lt;/bidder&gt;
&lt;/seller&gt;
</code></pre>

<p></p>

<p><strong>MY Problem:</strong>
I have a code for that but it returns both the id of seller and bidder..i want only seller id and most important without use of flag set..</p>

<p>please.Is anyone know that things help me as early as possible..</p>
