I have a fairly large repetitive XML to create using JAXB. Storing the whole object in the memory then do the marshaling takes too much memory. Essentially, my XML looks lik
There is a very simple way to get rid of namespace prefixes in your case: just set the attribute elementFormDefault to unqualified in your schema, like this:
You will get the namespace prefix only in the first tag: