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 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" Watch "How to read" New topic
Author

How to read

Muthu Vel
Greenhorn

Joined: Jan 09, 2003
Posts: 12
Hello Everybody,
I am new to XML. How to read the values stored in an XML file using Java? Where can I get the sample programs? Where can I get more details regarding this?


Thanks in Advance..<br /> smvel
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
JavaAlmanac.com has an answer for you. That example uses a standard XML parsing API called DOM. There are also alternatives such as SAX and JDOM (an open source project).
Elliotte Rusty Harrold has generously published his book online and the site, Cafe con Leche, is a great XML resource for Java developers.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
Have you checked out Aspose?
 
subject: How to read
 
jQuery in Action, 3rd edition