JAXB XML generation repeats super class attributes with each Subclass node
posted 8 years ago
I am using JAXB to emit XML from a hierarchy of Java class.
It emits XML with each super class property with the subclass node.
But I want Super class properties only once.
For example I would like to have my XML look as-