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 7827157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:44:27+00:00 2026-06-02T09:44:27+00:00

I want a common Parser which parse any type of XMl response. At present

  • 0

I want a common Parser which parse any type of XMl response.
At present I am using XmlPullParser.. in which I am passing xmlresponse from webservice and checking XmlPullParser.START_TAG and store data in the Beans Object accordingly..

for that I am creating one bean, one parser for each of the webservice I am parsing..

I’ve gone through one common parser over iOS App which input all the start tag as array to any webservice and storing data in key-value pair, and gives one object which contains all the data.. so no need of creating Bean and Parser separately..

  • 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-06-02T09:44:29+00:00Added an answer on June 2, 2026 at 9:44 am

    Common class for XML is the nice idea. I have created a demo to make a common XML parser class.

    To create a common class there can be many ways,It depends on your requirement. Some persons want to get the KeyValuePair like you are referencing in your question or some wants different ways.

    I have create one XML parser class which will parse the xml file and will return object. This object can have multiple childs.

    You can get the code from this blog.

    Hope this will help everyone.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want less methods. I want a common global TestClass from which I could
How could parse the value of few tag from my XML using C# 2.0?
I want to make an app which (amongst other things) can parse feeds loaded
I want to write a common error handler which will catch custom errors thrown
I have to parse some numbers from file names that have no common logic.
I want to parse strings similar to the following into separate variables using regular
I'm trying to parse an XML response within an Android app. The technique of
What's a common way of generating sentences from a grammar? I want an algorithm
I want to use common master-page for different roles, i just want to set
It's common to want browsers to cache resources - JavaScript, CSS, images, etc. until

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.