File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Simple XML parser" Watch "Simple XML parser" New topic
Author

Simple XML parser

Nathan Heimdall
Greenhorn

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.

Thanks,


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

Joined: Sep 20, 2010
Posts: 3647
    
  17

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Simple XML parser