SAXParser does NOT parse line by line. That's incorrect. What you need is
something like this:

 @Override
 public void characters(char[] ch, int offset, int count) {
  sb.append(ch, offset, count);
 }
@Override
 public void endElement(String namespaceUri, String localName, String qName)
{
  if (localName.equals("title"))
   title = sb.toString();

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to