Possible Duplicate:
Parse XML file on BlackBerry
Can anyone tell me how to parse this xml...
I am new to blackberry app development. I don't know how to parse xml.
<Main tag>
<subtagfirst>data</subtagfirst>
<subtagsec>data1</subtagsec>
<subtagthird>data1</subtagthird>
<Main sub tag>
<Main sub tag 1>
<sub tag1>
<id>1</id>
<name> abc</name>
</sub tag1>
<sub tag2>
<data1>xyz</data1>
<data2>pqr</data2>
</sub tag2>
</Main sub tag 1>
</Main sub tag>
</Main tag>
Thanks.