I\'m having trouble trying to map nested elements into the same Java class.
XML
What I\'m trying to do here is to set id attrib
id
Add a new class Layout:
Layout
public class SlideText extends Slide { @XmlElement private Layout layout; } public class Layout { @XmlAttribute private String text; }