Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, February 2008
Mimic stream parser by SAX ?


Message 1 in thread

Dear XML users,

The big advantage of stream parser (QXmlStreamReader) is the possibility 
to build recursive descent parser architecture, which makes your codes 
look elegant.  
Unfortunately, the project I am working on only allow SAX parser :-(
Does anyone have experience wrap around the SAX to make it behaves like 
the stream parse?
"Behaves like the stream parse" means a pulling approach (readNext() and 
return a token).

Thanks,
Lingfa

--
 [ signature omitted ]