@XmlRootElement with XJC
Is there a possibility to tell XJC's Ant task to generate @XmlRootElement annotations via option/binding?
I want to marshal an object to its xml representation but I am only getting its child nodes in the result stream.
Does the @XmlRootElement generation depend on the source schema structure?
Any help would be appreciated.