Hari, as far as I know you'd usually parse the document into an object, do
any updating of the object, then write it back out overwriting the previous
version. SAX doesn't store the xml in memory, it streams it, like xmlpull
does and you assemble an object tree from the xml as your needs require. You
don't have to assmble an object tree that is identical to the xml as well.
This is probably part of the reason DOM is so slow and requires as much as
8x the XML size in memory to store. Frankly, I'd go with xmlpull. It's
vastly easier to work with and generally as fast if not faster than sax.


On Mon, Feb 1, 2010 at 8:34 PM, Sasikumar.S <[email protected]>wrote:

> I don't know Hari.
>
>
> On Tue, Feb 2, 2010 at 10:03 AM, hari <[email protected]> wrote:
>
>>
>>
>> hi Sasikumar.S do you know how to update xml file using Sax parser.
>>
>> --
>> 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