I think it's always best if you actually attempt at something and post up your code to serve as a starting point. But I'm bored at work so here goes....
Here's some pseudo-ish code:
// To request data from the interwebs.
QNetworkRequest* request = new QNetworkRequest("http://www.asdf.com");
QNetworkAccessManager* networkMgr = new QNetworkAccessManager();
QNetworkReply* reply = networkMgr->get(request);
// Set up signals & slots (Qt4 style)
QObject::connect(reply, SIGNAL(readyRead()), this, SLOT(readyRead()));
QObject::connect(reply, SIGNAL(error(QNetworkReply::NetworkError)), this, SLOT(error(QNetworkReply::NetworkError)));
Later, when you get your payload, you can read the data and feed it into whatever Qt Xml parser you want (QXmlStreamReader and others!):
void HttpTest::readyRead()
{
QNetworkReply* reply = qobject_cast(sender());
if(reply)
{
if(reply->error() == QNetworkReply::NoError)
{
}
else
{
QString html = reply->readAll();
QXmlStreamReader reader(&html);
// Parse your xml stuff - search for your
node.
// ...
}
}
}