How to do sax parsing in android by referencing parent node
<p>I am new to android and I am looking for sax parsing in android.I have got too many examples when searching, but none of that meets my requirements, So here I am posting XML structure that I have and my requirements.</p>

<p><code>&lt;vehicle_appname version="1.0"&gt;
</code></p>

<pre><code>&lt;vehicle_selection&gt;

&lt;vehicle_selection_option name="car"&gt;

&lt;vehicle_issues&gt;
&lt;vehicle_item id="1" vehicle_filename="honda" vehicle_fileurl="honda13" icon_image="hodaFeb13.png" vehicle_heading="1.png" chapter_count="45"/&gt;
&lt;vehicle_item id="2" vehicle_filename="benz" vehicle_fileurl="Woman_feb13" icon_image="benzfeb13.png" vehicle_heading="1.png" chapter_count="6"/&gt;
&lt;/vehicle_issues&gt;

&lt;/vehicle_selection_option&gt;

&lt;vehicle_selection_option name="jeep"&gt;

&lt;vehicle_issues&gt;
&lt;vehicle_item id="1" vehicle_filename="mahindra" vehicle_fileurl="mahindra" icon_image="mahindra_Feb13.png" vehicle_heading="1.png" chapter_count="45"/&gt;

&lt;/vehicle_issues&gt;


&lt;/vehicle_selection_option&gt;

&lt;/vehicle_selection&gt;
&lt;/vehicle_appname&gt;
</code></pre>

<p>Here vehicle_selection_option name is an header tag and the vehicle_item tag contains contents for that header,there can be single or more contents tags.
My requirements : </p>

<ol>
<li>I want to parse this xml. I know that XML sax parsing is easy,but here I have nested xml file.So the values in vehicle tag must be appropriate to its header(vehicle_selection_option  tag).</li>
<li>I want to show this contents in listview.</li>
</ol>
