PDA

View Full Version : QXmlStreamReader rewind



bunjee
12th April 2008, 17: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, 18:01
What for? If you want a random access to the file, use QDomDocument.

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

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