This page is a little old but as far as I know it still applies.  It
covers your main options with some thought on when you might want to
use one or the other.

http://www.ibm.com/developerworks/opensource/library/x-android/index.html



On Aug 11, 3:58 pm, Chris Stewart <[email protected]> wrote:
> I'm not sure how much different they are from what you'll see on a platform
> such as .NET.  I use XmlPull on the more intensive tasks and DOM if it's a
> very small file.  I find using it, especially in DOM flavor, very similar to
> what you get with something like C#.
>
> Regards,
> Chris Stewart
>
> Fantasy 
> Football<http://chriswstewart.com/android-applications/fantasy-football/>-
> Android app for fantasy football fanatics and MFL owners
> Social Updater<http://chriswstewart.com/android-applications/social-updater/>-
> An easy way to send your status blast to multiple social networks
>
>
>
> On Wed, Aug 11, 2010 at 3:54 PM, Robert Nekic <[email protected]> wrote:
> > I've always thought Java's options for this are cumbersome but what
> > can you do.  They are generally fairly speedy unless you are dealing
> > with huge XML documents.  I usually go with an XmlPullParser because I
> > think it's slightly less annoying to code than the SAXParser.
>
> > Or, if it is generally small chunks of simple XML (no namespace
> > hassles and just a handful of elements), I will sometimes simply read
> > it into a String and substring values out of it by element name.
>
> > On Aug 11, 3:31 pm, Neilz <[email protected]> wrote:
> > > Hi. In my new project I retrieve an XML file from a server. I want to
> > > convert this into Java objects.
>
> > > Now, clearly searching on this brings up a lot of solutions and
> > > topics, but some of them don't seem to be fully Android compatible.
> > > Also, some are over complex, with automatic class creation from
> > > annotations. I prefer to write my own classes in this case.
>
> > > What technology would you recommend I look at to achieve this in
> > > Android?
>
> > > Thanks.
>
> > --
> > 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%2Bunsubs 
> > [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