Hi friends,

My project is to convert the XML file to DB2 file using Java... Here first i have to read the XML file in java and convert it into object and using that object i have to store it in DB2 file.

Please help me to do this....

the XML file is like this...

<?xml version="1.0" version="utf-8"?>
<Student_details>
<Name>
<Firstname>firstname</Firstname>
<Lastname>firstname</Lastname>
</Name>
<age>23</age>
<address>
<address1>address1</address1>
<address2>address2</address2>
<address3>address3</address3>
<city>city</city>
</address>
</Student_details>

Please help me friends...