PDA

View Full Version : QXmlStreamReader rewind



bunjee
12th April 2008, 18:52
Hey there:

I'm using QXmlStreamReader to parse an XML document.
I'm using a QFile as QIODevice.

I can read next tokens.

But,
Is it possible to rewind back to a previous token ?

Thanks.

wysota
12th April 2008, 19:01
What for? If you want a random access to the file, use QDomDocument.

bunjee
13th April 2008, 00:04
The class I'm using would be perfect if it had a "seek()" functionality...

wysota
13th April 2008, 09:00
Use QDomDocument, then.