The Problem
- You have an XML schema with multiple XML namespaces.
- You generate a JAXB model with xjc.
- You build a JAXB document model and use the JAXB Marshaller to create XML from the model.
- You want to override the default namespace prefixes
ns1, ns2, ...
created by the Marshaller.