Answer the question
In order to leave comments, you need to log in
How can xsd help?
You need to load a lot of data from xml and put it in the database, presumably mongo, because the structure is complex with varying degrees of nesting. For xml there is xsd how can this help? With the help of xsd it is possible to generate structures? Or what is it for?
Are there tools to help automate this?
Answer the question
In order to leave comments, you need to log in
Yes, with xsd you can automatically make java classes.
Either by means of the environment, or through online services (the first one that came across: pojo.sodhanalibrary.com/pojoFromXSD.html)
JAXB
stackoverflow.com/questions/11463231/how-to-genera...
pojo.sodhanalibrary.com/pojoFromXSD.html
XSD is an xml document schema, like a database schema, only for xml. We can say that this is a validator, with which you can check whether the xml document satisfies the requirements.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question