Thanks for all the responses ...
Cheers, Emre > Date: Sat, 6 Feb 2010 11:18:44 -0800 > Subject: [android-developers] Re: DOM, SAX or XMLPullParser ? Any suggestions > ? > From: [email protected] > To: [email protected] > > On Feb 5, 5:45 am, "Emre A. Yavuz" <[email protected]> wrote: > > Hi, > > > > We need to convert XML messages to a stream or string which can then be > > sent via sockets. > > You can read one XML input with XmlPullParser (or DOM or SAX) and > write it at the same time to another stream with XMLSerializer - see > XmlPullParserFactory.newSerializer(). > > Regarding your other question, your code controls the parsing thread > with XmlPullParser, but with SAX the parser controls the thread while > your DocumentHandler waits for callbacks. > > -- > 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 _________________________________________________________________ Introducing Windows® phone. http://go.microsoft.com/?linkid=9708122 -- 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

