Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5988739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:00:02+00:00 2026-05-22T23:00:02+00:00

hi I started learning google data api. I have one question What will be

  • 0

hi
I started learning google data api.
I have one question
What will be the best way of parsing xml google data xml ?

1 > Should I go with manually parsing xml ?

Or

2 > XML to java object mapping technique ?

I am thinking about going with 2 way, As it will require writing less code from my side.
But I don’t know how slow it will be in comparison to 1 way.

How slow is xml to java mapping technique ?

Is there any other better way to parse gdata xml ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:00:03+00:00Added an answer on May 22, 2026 at 11:00 pm

    How slow is xml to java mapping
    technique ?

    The answer to this question depends on what you are comparing the xml to Java mapping technique to. Many object-to-XML solutions have been around for quite a while and have learned a number of tricks to do this conversion.

    Is there any other better way to parse
    gdata xml ?

    Note: I’m the EclipseLink JAXB (MOXy) lead, and a member of the JAXB (JSR-222) expert group.

    I’m not that familiar with the Google Data API, but after a quick google, it appears to be related to Atom which can easily be handled by any of the JAXB implementations:

    • Metro (reference implementation included in Java SE 6)
    • EclipseLink JAXB (MOXy)
    • Apache JaxMe

    For an Atom example see:

    • http://bdoughan.blogspot.com/2010/09/processing-atom-feeds-with-jaxb.html

    With JAXB you can also start with your own object model and add annotations to apply the XML mapping:

    • http://bdoughan.blogspot.com/2010/11/jaxb-and-inheritance-using-substitution.html
    • http://bdoughan.blogspot.com/2010/10/jaxb-and-xsd-choice-xmlelements.html
    • http://bdoughan.blogspot.com/2010/09/jaxb-collection-properties.html

    MOXy also contains an XPath mapping extension that makes mapping your object model even easier:

    • http://bdoughan.blogspot.com/2010/09/xpath-based-mapping-geocode-example.html
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently started learning Perl and one of my latest assignments involves searching
I have just started learning Erlang and am trying out some Project Euler problems
I have recently started learning F#, and this is the first time I've ever
I´ve just started learning GWT and I´m trying to implement http://gwt.google.com/samples/Showcase/Showcase.html#!CwFileUpload and but failing
I just started learning about servers, and I am messing around with Google's App
I have recently started learning Ruby, as my first programming language. I feel comfortable
I recently started learning Python. Not yet ventured into coding. During one of my
Hello i have just started learning mvc2 and im having a problem with the
I've just started learning Lisp and I can't figure out how to compile and
I recently started learning Emacs . I went through the tutorial, read some introductory

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.