I am using Jersey and JAXB to build a simple RESTful webservice I have a HashMap of 'String' to 'Integer':
2010-04 -> 24
2010-05 -> 45
I need to generate an XML response which looks like this:
<map>
<2010-04>24</2010-04>
<2010-05>45</2010-05>
</map>
What is the best way to generate dynamic tag names with JAXB?