[Solved] How to convert Java objects to XML element attributes using JAXB
This is how your Meta class should look like. public class Meta { private String uc; private String pip; private String lot; public String getUc() { return uc; } @XmlAttribute public void setUc(String uc) { this.uc = uc; } public String getPip() { return pip; } @XmlAttribute public void setPip(String pip) { this.pip = pip; … Read more