We have a case scenario in our project where we are provided with a set of XSDs. These XSDs we converted to Java Pojos with the help of JAXB. After this we were suppose to update few values in the Pojo and converted back into the corresponding XML file. The number of XSD provided to us is large, they are similar - but placement of XML tags differ e.g. same tag will be present in different elements in different XSDs. Thus in for updating any element we had to write different methods so that it returns the specific XML. Is there any way or design change by which we may kind off generalize the updation part.
Asked
Active
Viewed 67 times