Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAXB - how to disable namespace in the generated xml?

 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

I generate Jaxb obeject with xjc (use maven plugin).
The generated xml has "ns:" as namespace.

My question is how to disable this?
I dont want to touch in the objects which generated by Jaxb , since i generate them automaticly. i prefer to use customization or any other solution.

Thank you
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic