my dog learned polymorphism*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "how to read an xml file" Watch "how to read an xml file" New topic
Author

how to read an xml file

vivek gaur
Greenhorn

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
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: how to read an xml file
 
Similar Threads
problem with if-condition
XML File Reading
Problem with jakarta commons dbcp
xml file transform to serializable object.
Updating a xml file inside a jar file