Hello,

I am trying to parse an xml doc. Considering the following xml data:

Qt Code:
  1. <item>
  2. <title>New champion..</title>
  3. <link>
  4. http://www.radikal.com.tr/Radikal.aspx?aType=RadikalHaberDetay&ArticleID=919267&CategoryID=103
  5. </link>
  6. <description>http://www.radikal.com.tr/2009/01/30/</description>
  7. </item>
To copy to clipboard, switch view to plain text mode 

When i try to read the "link" parameter:

Qt Code:
  1. if (current == "link"){
  2. link = reader->text().toString();
  3. reader->readNext();
  4. }
To copy to clipboard, switch view to plain text mode 

"link" returns "http://www.radikal.com.tr/Radikal.aspx?aType=RadikalHaberDetay"

when once more i read next:

Qt Code:
  1. reader->readNext();
To copy to clipboard, switch view to plain text mode 

"link" returns "&ArticleID=919267" and once more...:

Qt Code:
  1. reader->readNext();
To copy to clipboard, switch view to plain text mode 

"link" returns "&CategoryID=103".

QXmlStreamreader splits "link" into three pieces(on "&" sections). I want to get all "link" in one read step. How can i achieve that?

Thanks in advance..