Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXB adding attribute to collection element

 
matej spac
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have a class which looks like this:

I want to add an attribute "someAttr" to "list" element to reach following xml:.

Is this possible in some way?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!