Well, true, it's not line by line, to be more specific, it's character
by character.

What I meant was, you can't just pick up specific data from the XML,
you will have to go through the whole XML, or till the tag which you
want to fetch.

Kumar Bibek.

On Feb 1, 10:12 am, "Sasikumar.S" <[email protected]> wrote:
> Thank u frank.
>
>
>
> On Mon, Feb 1, 2010 at 10:29 AM, Frank Weiss <[email protected]> wrote:
> > 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]<android-developers%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Thanks & Regards
> Sasikumar.S

-- 
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