I have an XML of a forml like this: TextText How can I map with JAXB annotations all the co
TextText
Text
You can use the @XmlAnyElement annotation and specify a DOMHandler to convert the DOM fragment to/from a String value.
@XmlAnyElement
For a Complete Example