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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 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: 3657

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.
Consider Paul's rocket mass heater.
subject: Simple XML parser