View Single Post
  #4 (permalink)  
Old 05-05-2008, 03:10 PM
G_Morgan G_Morgan is offline
Guru
 
Join Date: Oct 2007
Age: 24
Posts: 408
Rep Power: 8
G_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura aboutG_Morgan has a spectacular aura about
Default Re: XML parser in Java

Basically then you are looking at first writing a lexical analyser that converts your character stream into tokens. Then a parser that converts your token stream into a parse tree.

Best place for this sort of knowledge is a compiler tutorial (since the first part of a compiler is writing a parser). I'd check if you have to write the entire thing or just adapt an existing XML parser to your specific data standard though.
__________________
Currently bemused by: LLVM.
Reply With Quote