xpp is much easier to use.. little messy.. but works very well, very fast,
and you can often get it much faster depending on if you need to parse the
whole document or just one part of it. If you got a 3MB xml, but the tag or
whatever you need is found at 1MB.. you can exit at that point and skip the
rest. I don't recall if DOM/SAX can do this.. last time I used those they
couldn't, but they may have added a way to exit before you parse the whole
thing.


On Fri, Jan 29, 2010 at 12:18 AM, Sasikumar.S <[email protected]>wrote:

> now i'm trying in SAX Parser only..
>
>
> On Fri, Jan 29, 2010 at 1:46 PM, ko5tik <[email protected]> wrote:
>
>> The problem is DOM parsing - in produces a LOT of objects and garbage
>> collection
>> wile slurping everything in oner big gulp (and usually chokes)
>>
>> What is wrong with SAX or XPP?
>>
>>
>> On Jan 29, 11:59 am, "Sasikumar.S" <[email protected]> wrote:
>> > Hi frank,
>> >
>> > Thank u for ur reply.
>> > that question is for android only.
>> > The url i sent is taking more than 3 minutes for me.
>> > I'm using DOM for XML Parsing.
>> >
>> > On Fri, Jan 29, 2010 at 11:19 AM, Frank Weiss <[email protected]>
>> wrote:
>> > > Is this and Android question? Anyway, on the Droid, using SAX, a 14 KB
>> xml
>> > > takes much less than one second off the net. On a 2GHz laptop, I've
>> seen 8
>> > > MB files parse in about one second. SAX is great. The pull XML parser
>> is
>> > > said to be slightly faster in many cases.
>> >
>> > > --
>> > > 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]>
>> <android-developers%[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]<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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

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