Two Laptop Bag
The moose likes XML and Related Technologies and the fly likes XML Parser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XML Parser" Watch "XML Parser" New topic

XML Parser

vignesh Thamarai
Ranch Hand

Joined: Mar 10, 2009
Posts: 31
How to write our own xml parser without using DOM and SAX, is it possible? what is the approach for these task ?
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Of course it is possible, how do you think all these different parsers got written?

You need two things:
1. Good grip on basic operations with Java Strings and regex expressions.
2. The formal definition of XML - start here at the W3C.

It would also be good if you could figure out exactly what you want as output

I agree. Here's the link:
subject: XML Parser
jQuery in Action, 3rd edition