I want to generate geopoints after parsing XML using SAX Parser
<p>I am able to parse XML using SAX Parser and able to display the points in text view.
But now I want the points to be displayed on the map.The XML Contains tags for latitude and longitude.
I want to read the latitiudes and longitudes and display them on map.</p>

<p><strong>UPDATE:</strong>  </p>

<pre><code>public void parsing()
{
    try
    {
    SAXParserFactory spf = SAXParserFactory.newInstance();
    SAXParser sp = spf.newSAXParser();
    XMLReader xr = sp.getXMLReader();

    XMLHandler handler = new XMLHandler();
    xr.setContentHandler(handler);
    InputStream in=this.getResources().openRawResource(R.raw.poi);
    xr.parse(new InputSource(in));
}
    catch(Exception e)
{
        System.out.println("XML Parsing Excpetion = " + e);

}
    poilist=XMLHandler.POIList;
    ArrayList&lt;Integer&gt; Latitude=new ArrayList&lt;Integer&gt;();
    ArrayList&lt;Integer&gt; Longtitude=new ArrayList&lt;Integer&gt;();
    for(int i=0;i&lt;poilist.getlat().size();i++)
    {
        Latitude.add(i);
        Longtitude.add(i);
    }
}
</code></pre>

<p>Now I want to pass these latitude and longitude values to the Geopoint..
Any suggestions??</p>
