Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to read

 
Muthu Vel
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic