Ok Thank U Kumar On Mon, Feb 1, 2010 at 11:18 AM, Kumar Bibek <coomar....@gmail.com> wrote:
> 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" <sasikumar.it1...@gmail.com> wrote: > > Thank u frank. > > > > > > > > On Mon, Feb 1, 2010 at 10:29 AM, Frank Weiss <fewe...@gmail.com> 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 > android-developers@googlegroups.com > > > To unsubscribe from this group, send email to > > > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> > > > > > 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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en