Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXB the root class  RSS feed

 
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
Boost this thread!