Hi, I'm a student
I need to write a java program, which can convert any XML file to SQL database (i.e. MySQL, Postgres).
BUT
I don't have any idea, how to do that. Because XML files can be quite complex: i.e:
<a>
<b>
<c>
Something here
</c>
</b>
</a>
My idea is: <a > is table in database, <b > is column, and <c > ...... Exactly! WHAT TO DO with tags which deepth is greater than three?
Any suggestions? Plz help