I am using QXmlStreamReader to parse this kind of XML:

Qt Code:
  1. <xml>
  2. <param>
  3. <name>age</name>
  4. <type>int</type>
  5. <value>42</value>
  6. </param>
  7.  
  8. <param>
  9. <name>name</name>
  10. <type>string</type>
  11. <value>dr blabla</value>
  12. </param>
  13.  
  14. <param>
  15. <name>data</name>
  16. <type>xml</type>
  17. <value>
  18. <age>12</age>
  19. <hieght>1.78 meters</height>
  20. <age>12</age>
  21. </value>
  22. </param>
  23. </xml>
To copy to clipboard, switch view to plain text mode 

What I need to do, is to get the whole 3rd param into a QString (or an QXmlDocument or something, not sure what is the best approach here). The problem with QXmlStreamReader is that I don't see a way to "skip" the content of this tag/node and get it as a verbatim text or something.

What do you suggest?