Hi all, i want a good example which parses the http xml response and display them?
Please help me!
Thankyou
Hi all, i want a good example which parses the http xml response and display them?
Please help me!
Thankyou
E.g. use QNetworkAccessManager to download the file and then use QDomDocument. Example code can be found in the detailed descriptions.
Hi, After reply from the network access manager i have to do the following but it doesn't show the response content. Is any problem with my code.
This is my Qt code:
Please help me.Qt Code:
void Sample::parseXml(QNetworkReply *reply) { qDebug()<<reply->readAll(); if(doc->setContent(reply)){ while(!n.isNull()) { if(!e.isNull()) { qDebug() << qPrintable(e.tagName())<< endl;// the node really is an element. } n = n.nextSibling(); } } }To copy to clipboard, switch view to plain text mode
Last edited by dineshkumar; 28th January 2011 at 08:19.
Hi,
If you get any solution plz help me and more.
the same problem im facing
Bookmarks