This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Reading XML Based Structure file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Reading XML Based Structure file " Watch "Reading XML Based Structure file " New topic

Reading XML Based Structure file

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


We have our DataBase data written in the form of a XML file ( Nearly consists of 1000 lines )
A sample of it just showing 2 rows of Data as now :

Now my requirement is that i need to read the tags of the XML file and put it into the setter Methods of a Java class .

Please tell me what is the best approach , and share your valuable ideas .

Thanks .

Save India From Corruption - Anna Hazare.
I agree. Here's the link:
subject: Reading XML Based Structure file
It's not a secret anymore!