I'm not sure if this is possible, but decided that I would ask and see if I could get any information.
As the name implies, I have an XML file with thousands of lines. I also have an XSD schema file associated with it.
I was wondering if it is possible for me to convert this data to a MySQL database without manually specifying XPath material?
For example, is it possible for Java or Python or any other program to analyze the XSD-based XML structure, retrieve the table columns and populate it with data?
I tried using PHPMyAdmin to import my XML file, but it didn’t work and said that there is a problem which, I think, is related to the fact that it cannot create columns. As far as I know, it can handle CSV files better, so there’s another option for two-step conversion.
Thank.
source
share