File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Simple XML parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Simple XML parser" Watch "Simple XML parser" New topic

Simple XML parser

Nathan Heimdall

Joined: Mar 02, 2009
Posts: 20
Hello All,

I want to build a simple XML parser which would store the data in a tree form internally.

Looking for pointers to any references or docs.


"A single conversation with a wise man is better than ten years of study."
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 4642

Hi Nathan,

I'm sure you already know where to find the XML specification. You may also want to take a look at the java.util.Scanner class, and the java.util.regex.Pattern class.

The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
Don't get me started about those stupid light bulbs.
subject: Simple XML parser
jQuery in Action, 3rd edition