PDA

View Full Version : How to set offset of QXmlStreamReader to beginning of the document



Askar
12th January 2010, 15:26
dear Friends,
i need help on how to set offset of QXmlStreamReader to beginning of a document after parsing once.
Thanks in advance

Regards
Askar

SABROG
12th January 2010, 15:59
just seek QIODevice to needed part and enter in while (!xml.atEnd()) loop, or you can compare elements name and stop parsing when you need.