You are here:

Java ME/create xml in java

Advertisement


Question
Hi Parag,
My question is about xml in java. I want to create an xml file from data in database in a java program(convert resultset into xml file) but I don't know how to do this. I've searched on internet but there is no good example for it.Could you please tell me what is the best way to do this?

Thanks.
Tina

Answer
You may need to use combination of multiple ways.

Refer following if it can help you:

https://www.youtube.com/user/zadatabase

http://www.javaworld.com/article/2076886/java-se/xml-apis-for-databases.html

https://docs.oracle.com/javase/tutorial/jdbc/basics/sqlxml.html

Java ME

All Answers


Answers by Expert:


Ask Experts

Volunteer


Parag Rughani

Expertise

I can answer almost all questions related to Java Me, Android, Blackberry, IPhone, Java, HTML, C, Adv. C, C++ and Data Structure.

Experience

Working on mobile phone technologies from 2004.

Organizations
Institute of Forensic Science, Gujarat Forensic Sciences University, Gandhinagar

Education/Credentials
Ph. D. , M. Phil., MCA

©2016 About.com. All rights reserved.