This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB the root class

 
Luke Murphy
Ranch Hand
Posts: 300
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have an XML to represent a list of Servers. It is like this:




At the moment to marshall / unmarshall this I have two classes. One for the Server:



Which is fine. However, I also have one for the list of Servers. I need this class to marshall and unmarshall a list of servers. I want to get rid of this class but keep the XML the same. Any ideas how I can do this?



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic