public void endElement(String uri, String name, String qName)
    {
        /*
         * if ("".equals(uri)) System.out.println("End element: " + qName); else
         * System.out.println("End element: {" + uri + "}" + name);
         */
        
        if ("Placemark".equals(name))
        {
        	//System.out.println(pm.toString());
        	
        	lPlacemarks.add(pm);
        	pm = null;
        	isPlacemark = false;
        	//System.out.println("ArraySize: " + lPlacemarks.size());
        }
        
        if (isPlacemark)
    	{
        	if ("name".equals(name))
        	{
        		pm.setName(sb.toString());
        	}
	        else if ("description".equals(name))
	        {
	        	String tmp = sb.toString();
	        	String bssid = null, capabilities = null, frequency = null;
	        	String[] tokenized = tmp.split("<br/>");
	        	
	        	for (int i = 0; i < tokenized.length; i++)
	        	{
	        		//System.out.println("[" + i + "]" + tokenized[i]);
	        		if (tokenized[i].indexOf("BSSID") > -1)
	        		{
	        			bssid = tokenized[i].replace("<b>", "").replace("</b>", "").replace("BSSID: ", "");
	        		}
	        		else if (tokenized[i].indexOf("Capabilities") > -1)
	        		{
	        			capabilities = tokenized[i].replace("<b>", "").replace("</b>", "").split(":")[1].trim();
	        		}
	        		else if(tokenized[i].indexOf("Frequency") > -1)
	        		{
	        			frequency = tokenized[i].replace("<b>", "").replace("</b>", "").split(":")[1].trim();
	        		}
	        	}
	        	
	        	pm.setBSSID(bssid);
	        	pm.setCapabilities(capabilities);
	        	pm.setFrequency(frequency);
        		pm.setDescription(sb.toString());
        	}
	        else if ("coordinates".equals(name))
	        {
	        	String tmp = sb.toString();
	        	
	        	float longitude = Float.valueOf(((String)tmp.split(",")[0]).trim()).floatValue();
	        	float latitude = Float.valueOf(((String)tmp.split(",")[1]).trim()).floatValue();
	        	cp.setLongitude(longitude);
	        	cp.setLatitude(latitude);
	        	pm.setCoordinatePoint(cp);
	        }
    	}
    }