Originally posted by Jain Neeraj:
Is there any other better approach?
Yes its possible to have once schema for 10 different xML, but having a single schema for 10
entirely different XML is not a good idea.
You can create UI for editing XML either using
servlet or JSP, upon submitting the form, the servelt/jsp will generate the XML files.
As you are one who is going to create the UI, i would say you can skip the validation of XML against the XSD, which means your UI should be very strict to your XSD.