How can I convert xml to java so that it could read the xml document and put it in to a database?
Advertisement
Answer
Check this: http://www.java-tips.org/java-se-tips/javax.xml.parsers/how-to-read-xml-file-in-java.html That’s how you read xml file. Then you just crate SQL query to insert it into database (JDBC?)