how to Parse item and subitem in xml parsing
<pre><code>&lt;taxmann&gt;
    &lt;docdetails&gt;
    &lt;info id="104010000000007617" date="19780225"&gt;
    &lt;physicalpath&gt;\\192.168.1.102\CMS\DATA&lt;/physicalpath&gt;
    &lt;filepath isxml="N"&gt;
    \NOTIFICATIONS\DIRECTTAXLAWS\HTMLFILES\150025021978.htm
    &lt;/filepath&gt;
    &lt;summary&gt;&lt;/summary&gt;
    &lt;description&gt;&lt;/description&gt;
    &lt;heading&gt;
    2187 [S.O.1500] | Section 35(1)(ii) of the Income-tax Act, 1961 - Scientific research expenditure - Approved scientific research associations/institutions
    &lt;/heading&gt;
    &lt;correspondingcitation/&gt;
    &lt;hasfile&gt;YES&lt;/hasfile&gt;
    &lt;sortby&gt;20120328160152743&lt;/sortby&gt;
    &lt;parentid&gt;&lt;/parentid&gt;
    &lt;parentchapterid&gt;&lt;/parentchapterid&gt;
    &lt;/info&gt;
    &lt;/docdetails&gt;
&lt;/taxmann&gt;
</code></pre>

<p>Code:</p>

<pre><code>  ArrayList&lt;HashMap&lt;String, String&gt;&gt; menuItems = new ArrayList&lt;HashMap&lt;String, String&gt;&gt;();

        XMLParser parser = new XMLParser();
        String xml = parser.getXmlFromUrl(URL); // getting XML
        Document doc = parser.getDomElement(xml); // getting DOM element

        NodeList nl = doc.getElementsByTagName(KEY_DOCDETAILS);
        // looping through all item nodes &lt;item&gt;
        for (int i = 0; i &lt; nl.getLength(); i++) {
            // creating new HashMap
            HashMap&lt;String, String&gt; map = new HashMap&lt;String, String&gt;();
            Element e = (Element) nl.item(i);

            map.put(KEY_HEADING, parser.getValue(e, KEY_HEADING));

            // adding HashList to ArrayList
            menuItems.add(map);


       }
</code></pre>

<p>This is My Xml Format i want to xmlParse  and want to dsiaply id,date,heading  i m able to display heading But i am not to print  date and id can u please tell me how i will implemnt it . this is my code to Print heading please modify my code and Print heading ,id,date..</p>
