Meaningless Drivel is fun!
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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

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: 24193

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:
subject: how to read an xml file
It's not a secret anymore!