Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

parse an xml containing json  RSS feed

Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am trying to parse an xml in the below format:

<subnode1>subnode1text</subnode1><subnode2><json data></subnode2>

To parse json alone I can use gson , but as I have to parse other nodes of xml too , please suggest me a reliable way to parse the whole xml

Also please let me know how can I create java classes automatically based for a specific xml where members of java class represents the node name and the set and get functions to modify the node values

She still doesn't approve of my superhero lifestyle. Or this shameless plug:
free 1 hour java lesson
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!