Customize namespace prefix when marshalling with Jaxb
Submitted by martin on 26 February, 2009 - 16:14I was looking a long time on how to set the prefix for a namespace when marshalling an object to xml using JAXB. If you don't do anything JAXB will write random namespace prefixes (like ns2, ns3).
