In fact any xml file containing data.
For example :
Code:
<profil uri="user2@users.org">
<base>
<login>user2</login>
<pseudo>u2</pseudo>
<password>user2pwd</password>
<inscrdate>2005-9-30</inscrdate>
<jid>user2@users.org</jid>
<mail>user2@users.org</mail>
</base>
<competence id="java">
<level>0</level>
</competence>
<competence id="c++">
<level>3</level>
</competence>
</profil>
Do I have to write the mapping file manually, or is there any way to reverse this example xml data file (defining profiles) automatically (that's to say generate the xml mapping file and/or the POJO code)
I'm dealing with big xml data files (all with the same DTD). I take them as string and have to put them into a database (the schema is not defined yet)
So the easiest way would be to generate the xml mapping files from the xml data files and adapt them after that.