Hello. Is there a way to access XML nodes with something like this:
Qt Code:
  1. domDoc.elementsByTagName("methodResponse/params/param/value/struct/member")
To copy to clipboard, switch view to plain text mode 
instead of
Qt Code:
  1. QDomElement elem = domDoc.firstChildElement("methodResponse").firstChildElement("params").firstChildElement("param").firstChildElement("value").firstChildElement("struct").firstChildElement("member")
To copy to clipboard, switch view to plain text mode 

Here follows the sample XML document. I need to get access to all 'member' nodes.
Qt Code:
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <methodResponse>
  3. <params>
  4. <param>
  5. <value>
  6. <struct>
  7. <member>
  8. <name>token</name>
  9. <value>
  10. <string>532236bdf362493h5</string>
  11. </value>
  12. </member>
  13. <member>
  14. <name>status</name>
  15. <value>
  16. <string>200 OK</string>
  17. </value>
  18. </member>
  19. <member>
  20. <name>seconds</name>
  21. <value>
  22. <double>0.008</double>
  23. </value>
  24. </member>
  25. </struct>
  26. </value>
  27. </param>
  28. </params>
  29. </methodResponse>
To copy to clipboard, switch view to plain text mode