This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to read
 
Similar Threads
XML
Need help
Where Can I get good XML FAQ
xml tag libraries
Please help everyone!!