This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes how to read an xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "how to read an xml file" Watch "how to read an xml file" New topic

how to read an xml file

vivek gaur

Joined: Dec 30, 2005
Posts: 21
guys please help me .
i want a program that can read from an xml file.
Gerardo Tasistro
Ranch Hand

Joined: Feb 08, 2005
Posts: 362
A nice tool is XStream. You can create a stream to the file and XStream will read it for you creating the proper classes that represent the data in the XML file.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24189

You will find that all the effort you put into posting five different copies of this message has gone to waste; I've deleted all the others. Have a look here for an explanation.

Now, regarding your question: read this. You're more than welcome to come back here and ask some specific questions afterwards.

[Jess in Action][AskingGoodQuestions]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: how to read an xml file
jQuery in Action, 3rd edition