I am creating an xml file whose root elemenet structure shuould be like:
In the older Jaxb you can specify additional namespaces using @XmlSeeAlso and in the newer Jaxb you can use @XmlNs in package-info.java see this answer: https://stackoverflow.com/a/63559294/447503
@XmlSeeAlso
@XmlNs