Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Parser

 
vignesh Thamarai
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic