XML parsing to fetch the description tab
<p>how i can parse the description details using xml parsing in android from giving xml</p>

<pre><code>&lt;item&gt;
            &lt;title&gt;All India Lawyer Conference at Lucknow &lt;/title&gt;
        &lt;description&gt;
&lt;text&gt;&lt;![CDATA[&lt;p style="text-align: center;"&gt;]]&gt;&lt;/text&gt;
&lt;image&gt;http://www.bjp.org/images/stories/kamala_2.png&lt;/image&gt;
&lt;text&gt;&lt;![CDATA[
&lt;p style="text-align: center;"&gt;&lt;span style="color: #ff6600;"&gt;&lt;span style="font-size: 24pt;"&gt;&lt;strong&gt;Bharatiya Janata Party&lt;/strong&gt;&lt;strong&gt;&lt;em&gt;&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;span style="color: #008000;"&gt;&lt;span style="font-size: 18pt;"&gt;&lt;span style="font-family: arial black,avant garde;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;p style="text-align: center;"&gt;&lt;span style="color: #008000;"&gt;&lt;span style="font-size: 18pt;"&gt;&lt;strong&gt;&lt;span style="font-family: 'arial black', 'avant garde';"&gt;All India Lawyer Conference &lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;span style="color: #008000;"&gt;&lt;span style="font-size: 18pt;"&gt;&lt;strong&gt;&lt;span style="font-family: 'arial black', 'avant garde';"&gt;at Lucknow (Uttar Pradesh)&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;span style="font-family: 'arial black', 'avant garde'; color: #008000; font-size: large;"&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt; &lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;strong&gt;&lt;span style="font-family: andale mono,times;"&gt;&lt;em&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style="color: #ff0000;"&gt;of&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;span style="font-family: arial black,avant garde;"&gt;&lt;span style="font-size: 14pt;"&gt;&lt;span style="color: #000080;"&gt;&lt;strong&gt;BJP President Shri Nitin Gadkari&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt; &lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;span style="font-size: 12pt;"&gt;&lt;span style="color: #ff0000;"&gt;&lt;strong&gt;on&lt;br /&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="text-align: center;"&gt;&lt;strong&gt;&lt;span style="font-size: 12pt;"&gt;&lt;span style="color: #ff0000;"&gt;May 15, 2011 (Sunday)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;]]&gt;&lt;/text&gt;
        &lt;/description&gt;
            &lt;author&gt; anurag.pathak@bjp.org (Anurag Pathak)&lt;/author&gt;
            &lt;pubDate&gt;Sun, 15 May 2011 00:00:00 GMT&lt;/pubDate&gt;
        &lt;/item&gt;
</code></pre>

<p>i want the all text which shows in bold letters</p>

<p>my coding</p>

<pre><code>@Override
    public void startElement(String uri, String localName, String qName,Attributes attributes) throws SAXException 
    {
        printParseInfo("startElement:", uri, localName, qName);
        int attributesLength = attributes.getLength();
        for (int i = 0; i &lt; attributesLength; i++)
        {
            printAttributeInfo(attributes, i);
        }
        currentElement = true;
        if (localName.equals("rss"))
        {
            /** Start */
            sitesList = new SitesList();
        }
    }
    /** Called when tag closing ( ex:- &lt;name&gt;AndroidPeople&lt;/name&gt; -- &lt;/name&gt; )*/
    @Override
    public void endElement(String uri, String localName, String qName) throws SAXException 
    {
        currentElement = false; 
        printParseInfo("endElement:  ", uri, localName, qName);
        /** set value */
        if (localName.equalsIgnoreCase("title"))
        {
            //Log.d("title---&gt;",currentValue);
            sitesList.setTitle(currentValue);
        }
        else
        if(localName.equalsIgnoreCase("span"))
        {
            //Log.d("strong--&gt;",currentValue);
            sitesList.setStrong(currentValue);
        }
        if (localName.equalsIgnoreCase("description"))
        {
            //Log.d("description---&gt;",currentValue);
            sitesList.setDescription(currentValue);
        }
        else
        if (localName.equalsIgnoreCase("author"))
        {
            //Log.d("Author---&gt;",currentValue);
            sitesList.setAuthor(currentValue);
        }
        else
        if(localName.equalsIgnoreCase("pubDate"))
        {
            //Log.d("pubDate---&gt;",currentValue);
            sitesList.setPubDate(currentValue);
        }
        else
        if(localName.equalsIgnoreCase("image"))
        {
            //Log.d("Image---&gt;",currentValue);
            sitesList.setImage(currentValue);
        }
    }
    /** Called to get tag characters ( ex:- &lt;name&gt;AndroidPeople&lt;/name&gt; -- to get AndroidPeople Character ) */
    @Override
    public void characters(char[] ch, int start, int length) throws SAXException 
    {
        if (currentElement) 
        {
            currentValue = new String(ch, start, length);
            Log.d("char--&gt;",currentValue);
            currentElement = false;
        }
    }
</code></pre>
