PDA

View Full Version : QXmlDefaultHandler



Ossi
30th September 2009, 10:02
Hi all.

I am reading xml documents, by reimplementing pure virtual functions from QXmlDefaultHandler.

It works fine, but I need to know how I can get the first lines.

i.e how can I read: <?xml version="1.0"?> and <!DOCTYPE doc> ?

I need to check if the DOCTYPE is doc, how do I do that?