Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
at_pradeep last edited by
I am really stuck on this, Some how I need to crack this down.
I need to parse Different type of XML Data received from the XMLHTTPRequest.
I tried to parse XML data using childNodes, nodeName and nodeValue but there are multiple combinations of the XML data. There can be N numbers of Child node from where i need to get the nodeValue for particular node name.
var httpReq = new XMLHttpRequest();
httpReq.open("POST", "http://localhost:port/", true);
httpReq.onreadystatechange = function()
if(httpReq.readyState == XMLHttpRequest.DONE)
if( httpReq.status == 200 )
var doc = httpReq.responseXML.documentElement;
/--- I need to parse this XML Data and get the results ---/
Thanks in advance.
digitalsurgeon last edited by
May be you need to look at XmlRole and XmlModels
check out this project:
it handles some XML in QML