Skip to content
Advertisement

Convert xml to java

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?)

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement